comparison dwtest.c @ 606:df01183257a0

Pack the calendar with an initial size so the dummy OS/2 calendar shows up
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 28 Sep 2006 01:41:39 +0000
parents 489a684af1bb
children 9876b75d7115
comparison
equal deleted inserted replaced
605:bf9da220b283 606:df01183257a0
800 dw_window_set_color(buttonsbox, DW_CLR_RED, DW_CLR_RED); 800 dw_window_set_color(buttonsbox, DW_CLR_RED, DW_CLR_RED);
801 801
802 calbox = dw_box_new(DW_HORZ, 0); 802 calbox = dw_box_new(DW_HORZ, 0);
803 dw_box_pack_start(notebookbox5, calbox, 500, 200, TRUE, TRUE, 1); 803 dw_box_pack_start(notebookbox5, calbox, 500, 200, TRUE, TRUE, 1);
804 cal = dw_calendar_new(100); 804 cal = dw_calendar_new(100);
805 dw_box_pack_start(calbox, cal, 0, 0, FALSE, FALSE, 0); 805 dw_box_pack_start(calbox, cal, 180, 160, TRUE, TRUE, 0);
806 dw_calendar_set_date(cal, 2001, 1, 1); 806 dw_calendar_set_date(cal, 2001, 1, 1);
807 /* 807 /*
808 * Create our file toolbar boxes... 808 * Create our file toolbar boxes...
809 */ 809 */
810 buttonboxperm = dw_box_new( BOXVERT, 0 ); 810 buttonboxperm = dw_box_new( BOXVERT, 0 );