mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user