Forms - dialogs

This commit is contained in:
kepler155c@gmail.com
2016-12-26 22:26:43 -05:00
parent d61260ec9b
commit 5c12b20fae
14 changed files with 365 additions and 292 deletions

View File

@@ -15,7 +15,7 @@ return function(args)
args = args or { }
local selectFile = UI.Page {
local selectFile = UI.Dialog {
x = args.x or 3,
y = args.y or 2,
z = args.z or 2,
@@ -24,11 +24,7 @@ return function(args)
height = args.height,
width = args.width,
backgroundColor = colors.brown,
titleBar = UI.TitleBar {
title = 'Select file',
previousPage = true,
event = 'cancel',
},
title = 'Select file',
grid = UI.ScrollingGrid {
x = 2,
y = 2,