wc: Invest UI cleanup pass 1

This commit is contained in:
Iris Morelle 2021-02-22 00:30:49 -03:00
parent cb53d30799
commit 9a5e33182f
2 changed files with 21 additions and 6 deletions

View file

@ -14,7 +14,7 @@ local function GUI_FORCE_WIDGET_MINIMUM_SIZE(w,h, content)
height = h
}
}
}
}
},
T.layer {
T.row {
@ -25,7 +25,7 @@ local function GUI_FORCE_WIDGET_MINIMUM_SIZE(w,h, content)
vertical_grow = "true",
content
}
}
}
}
}
}
@ -79,7 +79,9 @@ local dialog_wml = {
T.row {
T.column {
grow_factor = 0,
horizontal_grow = true,
horizontal_alignment = "left",
border = "top,bottom",
border_size = 5,
T.toggle_button {
id = "tree_view_node_toggle",
definition = "tree_view_node",
@ -88,11 +90,14 @@ local dialog_wml = {
T.column {
grow_factor = 1,
horizontal_grow = true,
border = "all",
border_size = 5,
T.grid {
T.row {
T.column {
horizontal_alignment = "left",
T.label {
definition = "gold",
id = "category_name",
},
},
@ -198,6 +203,8 @@ local dialog_wml = {
T.column { vertical_grow = true, T.grid { T.row {
T.column {
vertical_grow = true,
border = "all",
border_size = 5,
T.multi_page {
id = "details",
definition = "default",
@ -290,6 +297,8 @@ local dialog_wml = {
T.row {
T.column {
horizontal_alignment = "center",
border = "all",
border_size = 5,
T.button {
definition = "really_large",
label = "Get This Item",

View file

@ -17,7 +17,7 @@ invest_tellunit.dialog_wml = {
horizontal_alignment = "left",
T.label {
definition = "title",
label = _"You got",
label = _ "You got",
id = "title"
}
}
@ -27,6 +27,8 @@ invest_tellunit.dialog_wml = {
T.grid {
T.row {
T.column {
border = "all",
border_size = 5,
T.image {
id="icon"
}
@ -34,8 +36,10 @@ invest_tellunit.dialog_wml = {
},
T.row {
T.column {
border = "all",
border_size = 5,
T.label {
id="name"
id = "name"
}
},
},
@ -44,8 +48,10 @@ invest_tellunit.dialog_wml = {
},
T.row {
T.column {
border = "all",
border_size = 5,
T.button {
label = _"OK",
label = _ "OK",
id = "ok",
},
},