зеркало из https://github.com/nextcloud/desktop.git
Add useful font sizes to Style.qml
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
a469d44123
Коммит
472bba8149
|
@ -33,6 +33,10 @@ QtObject {
|
|||
// We are using pixel size because this is cross platform comparable, point size isn't
|
||||
readonly property int topLinePixelSize: pixelSize
|
||||
readonly property int subLinePixelSize: topLinePixelSize - 2
|
||||
readonly property int defaultFontPtSize: fontMetrics.font.pointSize
|
||||
readonly property int subheaderFontPtSize: defaultFontPtSize + 2
|
||||
readonly property int headerFontPtSize: defaultFontPtSize + 4
|
||||
readonly property int titleFontPtSize: defaultFontPtSize + 8
|
||||
|
||||
// Dimensions and sizes
|
||||
property int trayWindowWidth: variableSize(400)
|
||||
|
|
Загрузка…
Ссылка в новой задаче