Settings alignment and size adjustments

This commit is contained in:
Sander Ferdinand
2018-08-05 23:15:59 +02:00
parent 0fed21d6de
commit 39f2b99c7b
2 changed files with 15 additions and 5 deletions

View File

@@ -58,7 +58,17 @@ Rectangle {
property bool fontBold: true
property var fontFamily: MoneroComponents.Style.fontRegular.name
property string borderColor: "#808080"
property int textMargin: 28 // left-right margins in a given cell
property int textMargin: {
// left-right margins for a given cell
console.log(appWindow.width);
if(isMobile){
return 18;
} else if(appWindow.width < 890){
return 40;
} else {
return 64;
}
}
Image {
Layout.preferredWidth: 2
Layout.preferredHeight: 32