comparison dwtest.c @ 2554:4c75fb6089a9

Android: Need to set isSingleLine for entryfields. Autosize the Start Threads button, since buttons are one of the controls with forced size issues on Android.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 15 May 2021 21:16:06 +0000
parents 2b4f2929408e
children 3da35cd91ca7
comparison
equal deleted inserted replaced
2553:2b4f2929408e 2554:4c75fb6089a9
1878 /* create a box to pack into the notebook page */ 1878 /* create a box to pack into the notebook page */
1879 tmpbox = dw_box_new(DW_VERT, 0); 1879 tmpbox = dw_box_new(DW_VERT, 0);
1880 dw_box_pack_start(notebookbox9, tmpbox, 0, 0, TRUE, TRUE, 1); 1880 dw_box_pack_start(notebookbox9, tmpbox, 0, 0, TRUE, TRUE, 1);
1881 1881
1882 startbutton = dw_button_new( "Start Threads", 0 ); 1882 startbutton = dw_button_new( "Start Threads", 0 );
1883 dw_box_pack_start(tmpbox, startbutton, -1, 30, FALSE, FALSE, 0); 1883 dw_box_pack_start(tmpbox, startbutton, -1, -1, FALSE, FALSE, 0);
1884 dw_signal_connect(startbutton, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(start_threads_button_callback), NULL); 1884 dw_signal_connect(startbutton, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(start_threads_button_callback), NULL);
1885 1885
1886 /* Create the base threading components */ 1886 /* Create the base threading components */
1887 threadmle = dw_mle_new(0); 1887 threadmle = dw_mle_new(0);
1888 dw_box_pack_start(tmpbox, threadmle, 1, 1, TRUE, TRUE, 0); 1888 dw_box_pack_start(tmpbox, threadmle, 1, 1, TRUE, TRUE, 0);