optionsutil: tweak showValuesHMargins text string

Attempting to align the numbers on the same column was a fool's errand.
Our default UI font is not monospaced, to begin with,
and to do it right, we'd need to align the rightmost number, not the
leftmost ;).

i.e., T() would need to have much fancier justification capabilities ;).
Or, err, *any* text justification features, really ^^.
This commit is contained in:
NiLuJe
2024-09-12 20:13:45 +02:00
parent da2957392a
commit 9333843919

View File

@@ -185,7 +185,7 @@ function optionsutil.showValuesHMargins(configurable, option)
UIManager:show(InfoMessage:new{
text = T(_([[
Current margins:
left: %1
left: %1
right: %2
Default margins: not set]]),
real_size_string(current[1], unit),
@@ -195,10 +195,10 @@ Default margins: not set]]),
UIManager:show(InfoMessage:new{
text = T(_([[
Current margins:
left: %1
left: %1
right: %2
Default margins:
left: %3
left: %3
right: %4]]),
real_size_string(current[1], unit),
real_size_string(current[2], unit),