From 9882e1db4c48debbd91e269793a4bba0a8986c1da9d10ebad0b5db3c9e8be47d Mon Sep 17 00:00:00 2001 From: snap Date: Tue, 17 Mar 2026 15:46:07 +0000 Subject: [PATCH] Add comments about sizing widgets and text --- uitest/core/src/main/kotlin/com/iofferyoutea/uitest/Main.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/uitest/core/src/main/kotlin/com/iofferyoutea/uitest/Main.kt b/uitest/core/src/main/kotlin/com/iofferyoutea/uitest/Main.kt index 934c7d4..2ac0a52 100644 --- a/uitest/core/src/main/kotlin/com/iofferyoutea/uitest/Main.kt +++ b/uitest/core/src/main/kotlin/com/iofferyoutea/uitest/Main.kt @@ -52,12 +52,14 @@ class FirstScreen : KtxScreen { table.setFillParent(true) table.debug = true - label.setFontScale(5f) + label.wrap = false + label.setFontScale(5f) // Label text size must be done through setFontScale(f). Maybe we can do like this cell's width / 1080->? Or whatever would equal 1 on the dev machine table.add(label) + table.getCell