diff options
| author | iamcheeseman <[email protected]> | 2026-04-02 13:34:55 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-04-02 13:34:55 -0400 |
| commit | fbdf8e6807fd4829be8a60f9af45317952b8fc8a (patch) | |
| tree | 68043cb38b605ed083edacac38e64c431eab9c42 /src/scenes | |
| parent | 62d0eaff9b511121e0031504e56ad3125b18e46e (diff) | |
Fix overlapping text in speck editor
Diffstat (limited to 'src/scenes')
| -rw-r--r-- | src/scenes/speck_editor.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/scenes/speck_editor.lua b/src/scenes/speck_editor.lua index 2f08d97..0de0f90 100644 --- a/src/scenes/speck_editor.lua +++ b/src/scenes/speck_editor.lua @@ -52,7 +52,12 @@ local PROPERTY_TYPES = { im.layout() end, ["string"] = function(props, name, value, custom) - im.layout({ 0.25, 0.8, 1 }) + if custom.is_file then + im.layout({ 0.25, 0.8, 1 }) + else + im.layout({ 0.5, 1 }) + end + im.text(name) im.text(value) if custom.is_file then |
