summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNikolaus Gullotta <nikolaus.gullotta@gmail.com>2018-08-01 12:14:08 -0500
committerNikolaus Gullotta <nikolaus.gullotta@gmail.com>2018-08-01 12:14:08 -0500
commitd77aa4e3a5bfa729ac629a7a09def9ba04acb2a5 (patch)
tree3ca936cbe28cf9b065486847eb0d53e451441f4e /scripts
parentf771b0e88267e3e904c9d1611f8d89709e90f8e0 (diff)
more dialog formatting changes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mixer_settings_recall.lua15
-rw-r--r--scripts/mixer_settings_store.lua6
2 files changed, 9 insertions, 12 deletions
diff --git a/scripts/mixer_settings_recall.lua b/scripts/mixer_settings_recall.lua
index e2db3b816b..f8e22276dd 100644
--- a/scripts/mixer_settings_recall.lua
+++ b/scripts/mixer_settings_recall.lua
@@ -275,9 +275,8 @@ function factory () return function ()
local i = 0
local dry_table = {
- {type = "label", align="right", key="col-0-title", col=0, colspan=1, title = 'Settings:'},
- {type = "label", align="right", key="col-1-title", col=1, colspan=1, title = 'Source:'},
- {type = "label", align="left", key="col-2-title", col=2, colspan=1, title = 'Destination:'},
+ {type = "label", align="right", key="col-1-title", col=0, colspan=1, title = 'Source:'},
+ {type = "label", align="left", key="col-2-title", col=1, colspan=1, title = 'Destination:'},
}
local file = io.open(path, "r")
assert(file, "File not found!")
@@ -305,14 +304,14 @@ function factory () return function ()
if not(group_ptr) then
new_group = Session:new_route_group(group_name)
- dlg_title = string.format("%s.", group_name, new_group:name())
+ dlg_title = string.format("(Group) %s.", group_name, new_group:name())
--action_title = "will create and use settings"
else
- dlg_title = string.format("%s.", group_ptr:name())
+ dlg_title = string.format("(Group) %s.", group_ptr:name())
--action_title = "will use group settings"
end
table.insert(dry_table, {
- type = "label", align="right", key = "type-"..i , col = 0, colspan = 1, title = "(Group)"
+ type = "label", align="right", key = "type-"..i , col = 0, colspan = 1, title = ""
})
table.insert(dry_table, {
type = "label", align="right", key = "group-"..i , col = 1, colspan = 1, title = dlg_title
@@ -340,9 +339,7 @@ function factory () return function ()
--action_title = "will use route settings"
end
if route_ptr:isnil() then name = route_name else name = route_ptr:name() end
- table.insert(dry_table, {
- type = "label", align="right", key = "type-"..i , col = 0, colspan = 1, title = "(Strip)"
- })
+
table.insert(dry_table, {
type = "label", align="right", key = "route-"..i , col = 1, colspan = 1, title = dlg_title
})
diff --git a/scripts/mixer_settings_store.lua b/scripts/mixer_settings_store.lua
index 489ae67894..197fcd8ed7 100644
--- a/scripts/mixer_settings_store.lua
+++ b/scripts/mixer_settings_store.lua
@@ -313,13 +313,13 @@ function factory () return function ()
end
local store_options = {
- { type = "label", col=0, colspan=1, align="right", title = "Settings name:" },
+ { type = "label", col=0, colspan=1, align="right", title = "Name:" },
{ type = "entry", col=1, colspan=1, align="left" , key = "filename", default = Session:name(), title=""},
- { type = "label", col=0, colspan=1, align="right", title = "Store Settings:" },
+ { type = "label", col=0, colspan=1, align="right", title = "Location:" },
{
type = "radio", col=1, colspan=3, align="left", key = "store-dir", title = "", values =
{
- ['Global (accessible from any session)'] = 1, ['Locally (this session only)'] = 2
+ ['Global (accessible from any session)'] = 1, ['Local (this session only)'] = 2
},
default = 'Locally (this session only)'
},