# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1621113366 0 # Node ID 4c75fb6089a90ed655fad62cacd7d666ceae7e38 # Parent 2b4f2929408e0156895a9fadd3067b1a0a10c2b9 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. diff -r 2b4f2929408e -r 4c75fb6089a9 android/DWindows.kt --- a/android/DWindows.kt Sat May 15 20:46:17 2021 +0000 +++ b/android/DWindows.kt Sat May 15 21:16:06 2021 +0000 @@ -1133,6 +1133,7 @@ entryfield!!.tag = dataArrayMap entryfield!!.id = cid + entryfield!!.isSingleLine = true if (password > 0) { entryfield!!.transformationMethod = PasswordTransformationMethod.getInstance() } diff -r 2b4f2929408e -r 4c75fb6089a9 dwtest.c --- a/dwtest.c Sat May 15 20:46:17 2021 +0000 +++ b/dwtest.c Sat May 15 21:16:06 2021 +0000 @@ -1880,7 +1880,7 @@ dw_box_pack_start(notebookbox9, tmpbox, 0, 0, TRUE, TRUE, 1); startbutton = dw_button_new( "Start Threads", 0 ); - dw_box_pack_start(tmpbox, startbutton, -1, 30, FALSE, FALSE, 0); + dw_box_pack_start(tmpbox, startbutton, -1, -1, FALSE, FALSE, 0); dw_signal_connect(startbutton, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(start_threads_button_callback), NULL); /* Create the base threading components */