Commit 49404608 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(app): little fixes on style

parent b81239ae
...@@ -53,8 +53,8 @@ ColumnLayout { ...@@ -53,8 +53,8 @@ ColumnLayout {
Text { Text {
Layout.fillWidth: true Layout.fillWidth: true
color: MenuStyle.entry.textColor color: MenuStyle.entry.text.color
font.pointSize: MenuStyle.entry.fontSize font.pointSize: MenuStyle.entry.text.fontSize
height: parent.height height: parent.height
text: modelData.entryName text: modelData.entryName
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
......
...@@ -2,14 +2,14 @@ pragma Singleton ...@@ -2,14 +2,14 @@ pragma Singleton
import QtQuick 2.7 import QtQuick 2.7
QtObject { QtObject {
property int animationDuration: 200 property int animationDuration: 200
property int iconSize: 32 property int iconSize: 32
property string icon: 'collapse' property string icon: 'collapse'
property Rectangle background: Rectangle { property Rectangle background: Rectangle {
// Do not use Constants.colors. // Do not use Constants.colors.
// Collapse uses an icon without background color. // Collapse uses an icon without background color.
color: 'transparent' color: 'transparent'
} }
} }
...@@ -4,24 +4,24 @@ import QtQuick 2.7 ...@@ -4,24 +4,24 @@ import QtQuick 2.7
import Linphone 1.0 import Linphone 1.0
QtObject { QtObject {
property int leftMargin: 50 property int leftMargin: 50
property int rightMargin: 50 property int rightMargin: 50
property QtObject buttons: QtObject { property QtObject buttons: QtObject {
property int bottomMargin: 15 property int bottomMargin: 15
property int spacing: 20 property int spacing: 20
property int topMargin: 15 property int topMargin: 15
} }
property QtObject confirmDialog: QtObject { property QtObject confirmDialog: QtObject {
property int height: 150 property int height: 150
property int width: 370 property int width: 370
} }
property QtObject description: QtObject { property QtObject description: QtObject {
property int fontSize: 12 property int fontSize: 12
property int verticalMargin: 25 property int verticalMargin: 25
property string color: Colors.l property string color: Colors.l
} }
} }
...@@ -4,19 +4,19 @@ import QtQuick 2.7 ...@@ -4,19 +4,19 @@ import QtQuick 2.7
import Linphone 1.0 import Linphone 1.0
QtObject { QtObject {
property Rectangle background: Rectangle { property Rectangle background: Rectangle {
color: Colors.a color: Colors.a
} }
property Rectangle contentItem: Rectangle { property Rectangle contentItem: Rectangle {
implicitHeight: 100 implicitHeight: 100
implicitWidth: 8 implicitWidth: 8
radius: 10 radius: 10
} }
property QtObject color: QtObject { property QtObject color: QtObject {
property string hovered: Colors.h property string hovered: Colors.h
property string normal: Colors.c property string normal: Colors.c
property string pressed: Colors.b property string pressed: Colors.b
} }
} }
...@@ -17,6 +17,7 @@ QtObject { ...@@ -17,6 +17,7 @@ QtObject {
property QtObject text: QtObject { property QtObject text: QtObject {
property int fontSize: 8 property int fontSize: 8
property string color: '#FFFFFF' property string color: '#FFFFFF'
} }
} }
...@@ -4,24 +4,28 @@ import QtQuick 2.7 ...@@ -4,24 +4,28 @@ import QtQuick 2.7
import Linphone 1.0 import Linphone 1.0
QtObject { QtObject {
property int spacing: 2 property int spacing: 2
property QtObject entry: QtObject { property QtObject entry: QtObject {
property int fontSize: 13 property int iconSize: 24
property int iconSize: 24 property int leftMargin: 20
property int leftMargin: 20 property int rightMargin: 20
property int rightMargin: 20 property int selectionIconSize: 12
property int selectionIconSize: 12 property int spacing: 18
property int spacing: 18
property string selectionIcon: 'right_arrow' property string selectionIcon: 'right_arrow'
property string textColor: Colors.k
property QtObject color: QtObject { property QtObject color: QtObject {
property string normal: Colors.g property string normal: Colors.g
property string hovered: Colors.h property string hovered: Colors.h
property string pressed: Colors.i property string pressed: Colors.i
property string selected: Colors.j property string selected: Colors.j
}
} }
property QtObject text: QtObject {
property int fontSize: 13
property string color: Colors.k
}
}
} }
...@@ -7,9 +7,8 @@ QtObject { ...@@ -7,9 +7,8 @@ QtObject {
property string backgroundColor: Colors.k property string backgroundColor: Colors.k
property QtObject shadow: QtObject { property QtObject shadow: QtObject {
property double radius: 8.0
property int horizontalOffset: 0 property int horizontalOffset: 0
property int radius: 8
property int samples: 15 property int samples: 15
property int verticalOffset: 2 property int verticalOffset: 2
......
...@@ -4,9 +4,9 @@ import QtQuick 2.7 ...@@ -4,9 +4,9 @@ import QtQuick 2.7
import Linphone 1.0 import Linphone 1.0
QtObject { QtObject {
property string shadowColor: Colors.f property string shadowColor: Colors.f
property Rectangle searchFieldBackground: Rectangle { property Rectangle searchFieldBackground: Rectangle {
implicitHeight: 30 implicitHeight: 30
} }
} }
...@@ -4,21 +4,21 @@ import QtQuick 2.7 ...@@ -4,21 +4,21 @@ import QtQuick 2.7
import Linphone 1.0 import Linphone 1.0
QtObject { QtObject {
property QtObject legend: QtObject { property QtObject legend: QtObject {
property int bottomMargin: 10 property int bottomMargin: 10
property int fontSize: 13 property int fontSize: 13
property int iconSize: 26 property int iconSize: 26
property int leftMargin: 18 property int leftMargin: 18
property int spacing: 16 property int spacing: 16
property int topMargin: 10 property int topMargin: 10
property string color: Colors.d property string color: Colors.d
property string icon: 'history' property string icon: 'history'
} }
property QtObject separator: QtObject { property QtObject separator: QtObject {
property int height: 1 property int height: 1
property string color: Colors.e property string color: Colors.e
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment