aboutsummaryrefslogtreecommitdiff
path: root/LeftPanel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'LeftPanel.qml')
-rw-r--r--LeftPanel.qml6
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) {