Mercurial > dwindows
changeset 1142:88cc189b5e56
Some layout updates on the dwtest render page.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 10 Sep 2011 17:59:37 +0000 |
parents | 8d8c73fb27f4 |
children | b1b23de965d7 |
files | dwtest.c |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtest.c Sat Sep 10 17:41:28 2011 +0000 +++ b/dwtest.c Sat Sep 10 17:59:37 2011 +0000 @@ -873,29 +873,29 @@ hbox = dw_box_new(BOXHORZ, 1 ); dw_box_pack_start( notebookbox2, hbox, 100, 25, TRUE, FALSE, 1); rendcombo = dw_combobox_new( "Shapes Double Buffered", 0 ); - dw_box_pack_start( hbox, rendcombo, 100, 25, TRUE, FALSE, 0); + dw_box_pack_start( hbox, rendcombo, 80, 25, TRUE, FALSE, 0); dw_listbox_append(rendcombo, "Shapes Double Buffered"); dw_listbox_append(rendcombo, "Shapes Direct"); dw_listbox_append(rendcombo, "File Display"); label = dw_text_new("Image X:", 100); - dw_window_set_style(label, DW_DT_VCENTER, DW_DT_VCENTER); - dw_box_pack_start( hbox, label, 55, 25, FALSE, FALSE, 0); + dw_window_set_style(label, DW_DT_VCENTER | DW_DT_CENTER, DW_DT_VCENTER | DW_DT_CENTER); + dw_box_pack_start( hbox, label, 60, 25, FALSE, FALSE, 0); imagexspin = dw_spinbutton_new("20", 1021); - dw_box_pack_start( hbox, imagexspin, 20, 25, TRUE, FALSE, 0); + dw_box_pack_start( hbox, imagexspin, 25, 25, TRUE, FALSE, 0); label = dw_text_new("Y:", 100); - dw_window_set_style(label, DW_DT_VCENTER, DW_DT_VCENTER); - dw_box_pack_start( hbox, label, 20, 25, FALSE, FALSE, 0); + dw_window_set_style(label, DW_DT_VCENTER | DW_DT_CENTER, DW_DT_VCENTER | DW_DT_CENTER); + dw_box_pack_start( hbox, label, 25, 25, FALSE, FALSE, 0); imageyspin = dw_spinbutton_new("20", 1021); - dw_box_pack_start( hbox, imageyspin, 20, 25, TRUE, FALSE, 0); + dw_box_pack_start( hbox, imageyspin, 25, 25, TRUE, FALSE, 0); dw_spinbutton_set_limits(imagexspin, 2000, 0); dw_spinbutton_set_limits(imageyspin, 2000, 0); dw_spinbutton_set_pos(imagexspin, 20); dw_spinbutton_set_pos(imageyspin, 20); button1 = dw_button_new( "Refresh", 1223L ); - dw_box_pack_start( hbox, button1, 50, 25, TRUE, FALSE, 0); + dw_box_pack_start( hbox, button1, 100, 25, FALSE, FALSE, 0); button2 = dw_button_new( "Print", 1224L ); - dw_box_pack_start( hbox, button2, 50, 25, TRUE, FALSE, 0); + dw_box_pack_start( hbox, button2, 100, 25, FALSE, FALSE, 0); /* create render box for number pixmap */ textbox1 = dw_render_new( 100 );