fix ui resizing (due to canvas changes)

This commit is contained in:
kepler155c@gmail.com
2019-02-26 18:03:09 -05:00
parent ad60fce9b0
commit cc1a2bfbf4
6 changed files with 49 additions and 27 deletions

View File

@@ -1,5 +1,6 @@
local UI = require('ui')
local colors = _G.colors
local device = _G.device
local peripheral = _G.peripheral
local settings = _G.settings
@@ -8,7 +9,7 @@ local tab = UI.Tab {
tabTitle = 'Kiosk',
description = 'Kiosk options',
form = UI.Form {
x = 2,
x = 2, ex = -2,
manualControls = true,
monitor = UI.Chooser {
formLabel = 'Monitor', formKey = 'monitor',
@@ -22,6 +23,11 @@ local tab = UI.Tab {
},
help = 'Adjust text scaling',
},
labelText = UI.TextArea {
x = 2, ex = -2, y = 5,
textColor = colors.yellow,
value = 'Settings apply to kiosk mode selected during startup'
},
},
}