diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-04-30 15:40:39 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-04-30 15:40:39 -0500 |
| commit | afd9449b1d5d6d7d8389bfab6ba1e7f176c02640 (patch) | |
| tree | 368a7810a83317ab7f9e7907d66458211da87755 | |
| parent | 7ee0f5907f56e71b898887da0b7ebb5acc6491e0 (diff) | |
| parent | ed0bccc7e2b960909a69b6d428e019b1d5eae7bb (diff) | |
| download | monzero-gui-afd9449b1d5d6d7d8389bfab6ba1e7f176c02640.tar.gz monzero-gui-afd9449b1d5d6d7d8389bfab6ba1e7f176c02640.tar.xz monzero-gui-afd9449b1d5d6d7d8389bfab6ba1e7f176c02640.zip | |
Merge pull request #2136
ed0bccc LeftPanel: don't change font size if balance is hidden (selsta)
| -rw-r--r-- | LeftPanel.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml index d6590cae..8c6ce0cf 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -226,6 +226,9 @@ Rectangle { text: "N/A" // dynamically adjust text size font.pixelSize: { + if (persistentSettings.hideBalance) { + return 20; + } var digits = text.split('.')[0].length var defaultSize = 22; if(digits > 2) { @@ -265,6 +268,9 @@ Rectangle { text: "N/A" // dynamically adjust text size font.pixelSize: { + if (persistentSettings.hideBalance) { + return 20; + } var digits = text.split('.')[0].length var defaultSize = 20; if(digits > 3) { |
