gui2/campaign_selection: Layout tweaks for the settings row

This makes the row actually take up its full horizontal space and spaces
out the columns very slightly while still allowing them to be usable at
800x600.

It also replaces the overlong detailed descriptions for the options in
the Combat menu with tooltips holding the same contents.
This commit is contained in:
Iris Morelle 2020-12-15 17:28:18 -03:00
parent 10d578bb7b
commit 61e832e9af

View file

@ -272,7 +272,7 @@
[row]
[column]
grow_factor = 0
horizontal_alignment = "right"
horizontal_alignment = "left"
border = "all"
border_size = 5
@ -283,7 +283,7 @@
[/column]
[column]
grow_factor = 0
grow_factor = 1
horizontal_grow = true
border = "all"
border_size = 5
@ -293,6 +293,8 @@
[/multimenu_button]
[/column]
{GUI_FILLER WIDTH=10}
[column]
grow_factor = 0
horizontal_alignment = "right"
@ -306,7 +308,7 @@
[/column]
[column]
grow_factor = 0
grow_factor = 1
horizontal_grow = true
border = "all"
border_size = 5
@ -317,19 +319,21 @@
[option]
label = _ "Default RNG"
details = "<span color='#777'>" + _ "Reloading alters future combat outcomes" + "</span>"
tooltip = _ "Reloading alters future combat outcomes"
[/option]
[option]
label = _ "Predictable RNG"
details = "<span color='#777'>" + _ "Combat outcomes remain constant when reloading" + "</span>"
tooltip = _ "Combat outcomes remain constant when reloading"
[/option]
[option]
label = _ "Biased RNG (experimental)"
details = "<span color='#777'>" + _ "Combat outcomes are more in line with displayed probabilities and unaffected by reloading" + "</span>"
tooltip = _ "Combat outcomes are more in line with displayed probabilities and unaffected by reloading"
[/option]
[/menu_button]
[/column]
{GUI_FILLER WIDTH=10}
[column]
grow_factor = 0
horizontal_alignment = "right"
@ -343,7 +347,7 @@
[/column]
[column]
grow_factor = 0
grow_factor = 1
horizontal_grow = true
border = "all"
border_size = 5