Mercurial > dwindows
changeset 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 | d7d163d70763 |
files | android/DWindows.kt dwtest.c |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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() }
--- 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 */