[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [skrooge] /: Better display for "Income vs Expenditure" on QML dashboard
From:       Stephane Mankowski <stephane () mankowski ! fr>
Date:       2016-11-26 15:07:24
Message-ID: E1cAeZY-0005Ml-T8 () code ! kde ! org
[Download RAW message or body]

Git commit 6bc98c3c200bf764874fda9b47c119d21b99cd13 by Stephane Mankowski.
Committed on 26/11/2016 at 15:07.
Pushed by smankowski into branch 'master'.

Better display for "Income vs Expenditure" on QML dashboard

M  +1    -0    CHANGELOG
M  +3    -4    plugins/skrooge/default/income_vs_expenditure.qml

https://commits.kde.org/skrooge/6bc98c3c200bf764874fda9b47c119d21b99cd13

diff --git a/CHANGELOG b/CHANGELOG
index 159ae8a..b679041 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -15,6 +15,7 @@ skrooge (2.6.0)
   *Correction: The dock "Message" is not reinitialized when a new file is loaded  
   *Correction: In budget module, replacement of "Remove existing budgets" by "Remove existing budgets \
                for xxx"  
   *Correction: BitcoinCharts currency import order must be inverted because CSV file has been inverted
+  *Correction: Better display for "Income vs Expenditure" on QML dashboard
   *New feature: Addition of "nocolor" to the "money" Grantlee filter
   *New feature: Remove .skg in backup file name if .skg is added in the prefix \
(https://forum.kde.org/viewtopic.php?f=210&t=136518&p=366065#p366065)    
diff --git a/plugins/skrooge/default/income_vs_expenditure.qml \
b/plugins/skrooge/default/income_vs_expenditure.qml index 100686d..0e7cd04 100644
--- a/plugins/skrooge/default/income_vs_expenditure.qml
+++ b/plugins/skrooge/default/income_vs_expenditure.qml
@@ -18,10 +18,9 @@ import QtQuick 2.0
 import QtQuick.Layouts 1.0
 import QtQuick.Controls 1.0
 
-Grid {
+GridLayout {
     id: widget
 	columns: 2
-	spacing: 2
 
 	property double maxValue: Math.max(incomes1Bar.value, expenditures1Bar.value, incomes2Bar.value, \
expenditures2Bar.value)  
@@ -31,7 +30,7 @@ Grid {
 		font.bold: true
 	}
 	Label{
-		text: "--"
+		text: ""
 	}	
 	
 	Label{
@@ -95,7 +94,7 @@ Grid {
 		font.bold: true
 	}
 	Label{
-		text: "--"
+		text: ""
 	}	
 	
 	Label{


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic