mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
fix(app): little fixes on style
This commit is contained in:
parent
b81239ae33
commit
4940460883
9 changed files with 79 additions and 75 deletions
|
|
@ -53,8 +53,8 @@ ColumnLayout {
|
|||
|
||||
Text {
|
||||
Layout.fillWidth: true
|
||||
color: MenuStyle.entry.textColor
|
||||
font.pointSize: MenuStyle.entry.fontSize
|
||||
color: MenuStyle.entry.text.color
|
||||
font.pointSize: MenuStyle.entry.text.fontSize
|
||||
height: parent.height
|
||||
text: modelData.entryName
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@ pragma Singleton
|
|||
import QtQuick 2.7
|
||||
|
||||
QtObject {
|
||||
property int animationDuration: 200
|
||||
property int iconSize: 32
|
||||
property int animationDuration: 200
|
||||
property int iconSize: 32
|
||||
|
||||
property string icon: 'collapse'
|
||||
property string icon: 'collapse'
|
||||
|
||||
property Rectangle background: Rectangle {
|
||||
// Do not use Constants.colors.
|
||||
// Collapse uses an icon without background color.
|
||||
color: 'transparent'
|
||||
}
|
||||
property Rectangle background: Rectangle {
|
||||
// Do not use Constants.colors.
|
||||
// Collapse uses an icon without background color.
|
||||
color: 'transparent'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,24 +4,24 @@ import QtQuick 2.7
|
|||
import Linphone 1.0
|
||||
|
||||
QtObject {
|
||||
property int leftMargin: 50
|
||||
property int rightMargin: 50
|
||||
property int leftMargin: 50
|
||||
property int rightMargin: 50
|
||||
|
||||
property QtObject buttons: QtObject {
|
||||
property int bottomMargin: 15
|
||||
property int spacing: 20
|
||||
property int topMargin: 15
|
||||
}
|
||||
property QtObject buttons: QtObject {
|
||||
property int bottomMargin: 15
|
||||
property int spacing: 20
|
||||
property int topMargin: 15
|
||||
}
|
||||
|
||||
property QtObject confirmDialog: QtObject {
|
||||
property int height: 150
|
||||
property int width: 370
|
||||
}
|
||||
property QtObject confirmDialog: QtObject {
|
||||
property int height: 150
|
||||
property int width: 370
|
||||
}
|
||||
|
||||
property QtObject description: QtObject {
|
||||
property int fontSize: 12
|
||||
property int verticalMargin: 25
|
||||
property QtObject description: QtObject {
|
||||
property int fontSize: 12
|
||||
property int verticalMargin: 25
|
||||
|
||||
property string color: Colors.l
|
||||
}
|
||||
property string color: Colors.l
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,19 +4,19 @@ import QtQuick 2.7
|
|||
import Linphone 1.0
|
||||
|
||||
QtObject {
|
||||
property Rectangle background: Rectangle {
|
||||
color: Colors.a
|
||||
}
|
||||
property Rectangle background: Rectangle {
|
||||
color: Colors.a
|
||||
}
|
||||
|
||||
property Rectangle contentItem: Rectangle {
|
||||
implicitHeight: 100
|
||||
implicitWidth: 8
|
||||
radius: 10
|
||||
}
|
||||
property Rectangle contentItem: Rectangle {
|
||||
implicitHeight: 100
|
||||
implicitWidth: 8
|
||||
radius: 10
|
||||
}
|
||||
|
||||
property QtObject color: QtObject {
|
||||
property string hovered: Colors.h
|
||||
property string normal: Colors.c
|
||||
property string pressed: Colors.b
|
||||
}
|
||||
property QtObject color: QtObject {
|
||||
property string hovered: Colors.h
|
||||
property string normal: Colors.c
|
||||
property string pressed: Colors.b
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ QtObject {
|
|||
|
||||
property QtObject text: QtObject {
|
||||
property int fontSize: 8
|
||||
|
||||
property string color: '#FFFFFF'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,24 +4,28 @@ import QtQuick 2.7
|
|||
import Linphone 1.0
|
||||
|
||||
QtObject {
|
||||
property int spacing: 2
|
||||
property int spacing: 2
|
||||
|
||||
property QtObject entry: QtObject {
|
||||
property int fontSize: 13
|
||||
property int iconSize: 24
|
||||
property int leftMargin: 20
|
||||
property int rightMargin: 20
|
||||
property int selectionIconSize: 12
|
||||
property int spacing: 18
|
||||
property QtObject entry: QtObject {
|
||||
property int iconSize: 24
|
||||
property int leftMargin: 20
|
||||
property int rightMargin: 20
|
||||
property int selectionIconSize: 12
|
||||
property int spacing: 18
|
||||
|
||||
property string selectionIcon: 'right_arrow'
|
||||
property string textColor: Colors.k
|
||||
property string selectionIcon: 'right_arrow'
|
||||
|
||||
property QtObject color: QtObject {
|
||||
property string normal: Colors.g
|
||||
property string hovered: Colors.h
|
||||
property string pressed: Colors.i
|
||||
property string selected: Colors.j
|
||||
}
|
||||
property QtObject color: QtObject {
|
||||
property string normal: Colors.g
|
||||
property string hovered: Colors.h
|
||||
property string pressed: Colors.i
|
||||
property string selected: Colors.j
|
||||
}
|
||||
|
||||
property QtObject text: QtObject {
|
||||
property int fontSize: 13
|
||||
|
||||
property string color: Colors.k
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,9 +7,8 @@ QtObject {
|
|||
property string backgroundColor: Colors.k
|
||||
|
||||
property QtObject shadow: QtObject {
|
||||
property double radius: 8.0
|
||||
|
||||
property int horizontalOffset: 0
|
||||
property int radius: 8
|
||||
property int samples: 15
|
||||
property int verticalOffset: 2
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import QtQuick 2.7
|
|||
import Linphone 1.0
|
||||
|
||||
QtObject {
|
||||
property string shadowColor: Colors.f
|
||||
property string shadowColor: Colors.f
|
||||
|
||||
property Rectangle searchFieldBackground: Rectangle {
|
||||
implicitHeight: 30
|
||||
}
|
||||
property Rectangle searchFieldBackground: Rectangle {
|
||||
implicitHeight: 30
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,21 +4,21 @@ import QtQuick 2.7
|
|||
import Linphone 1.0
|
||||
|
||||
QtObject {
|
||||
property QtObject legend: QtObject {
|
||||
property int bottomMargin: 10
|
||||
property int fontSize: 13
|
||||
property int iconSize: 26
|
||||
property int leftMargin: 18
|
||||
property int spacing: 16
|
||||
property int topMargin: 10
|
||||
property QtObject legend: QtObject {
|
||||
property int bottomMargin: 10
|
||||
property int fontSize: 13
|
||||
property int iconSize: 26
|
||||
property int leftMargin: 18
|
||||
property int spacing: 16
|
||||
property int topMargin: 10
|
||||
|
||||
property string color: Colors.d
|
||||
property string icon: 'history'
|
||||
}
|
||||
property string color: Colors.d
|
||||
property string icon: 'history'
|
||||
}
|
||||
|
||||
property QtObject separator: QtObject {
|
||||
property int height: 1
|
||||
property QtObject separator: QtObject {
|
||||
property int height: 1
|
||||
|
||||
property string color: Colors.e
|
||||
}
|
||||
property string color: Colors.e
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue