gui2/tfile_dialog: Rearrange some elements
The path label above the fileview now stands on its own without the "Location:" label since it's self-explanatory for anyone who's managed to get this far and install Wesnoth. The Delete and New Folder buttons have had their order reversed so that destructive actions are on the side opposite to the dialog's control buttons (OK/Cancel), the "Places" heading no longer has a colon.
This commit is contained in:
parent
d1951b40b9
commit
eb3bc1f0ce
1 changed files with 45 additions and 71 deletions
|
@ -108,7 +108,7 @@
|
|||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Places:"
|
||||
label = _ "Places"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
@ -116,42 +116,15 @@
|
|||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = true
|
||||
border = "all"
|
||||
border_size = 5
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
grow_factor = 0
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[label]
|
||||
definition = "default"
|
||||
label = _ "Path:"
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_grow = "true"
|
||||
|
||||
[label]
|
||||
id = "current_dir"
|
||||
definition = "default"
|
||||
label = ""
|
||||
wrap = false
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
[label]
|
||||
id = "current_dir"
|
||||
definition = "default"
|
||||
label = ""
|
||||
wrap = false
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
||||
|
@ -312,47 +285,48 @@
|
|||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
horizontal_grow = "true"
|
||||
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
|
||||
[button]
|
||||
id = "new_dir"
|
||||
definition = "default"
|
||||
label = _ "New Folder"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
{GUI_FILLER}
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
horizontal_grow = true
|
||||
|
||||
[button]
|
||||
id = "delete_file"
|
||||
definition = "default"
|
||||
label = _ "Delete"
|
||||
[/button]
|
||||
[grid]
|
||||
|
||||
[row]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "left"
|
||||
grow_factor = 1
|
||||
|
||||
[button]
|
||||
id = "delete_file"
|
||||
#definition = "action_delete_file"
|
||||
label = _ "Delete"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[column]
|
||||
border = "all"
|
||||
border_size = 5
|
||||
horizontal_alignment = "right"
|
||||
|
||||
[button]
|
||||
id = "new_dir"
|
||||
definition = "default"
|
||||
label = _ "New Folder"
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
|
||||
[/grid]
|
||||
|
||||
[/column]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue