mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Add useful font sizes to Style.qml
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
a469d44123
commit
472bba8149
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ QtObject {
|
||||||
// We are using pixel size because this is cross platform comparable, point size isn't
|
// We are using pixel size because this is cross platform comparable, point size isn't
|
||||||
readonly property int topLinePixelSize: pixelSize
|
readonly property int topLinePixelSize: pixelSize
|
||||||
readonly property int subLinePixelSize: topLinePixelSize - 2
|
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
|
// Dimensions and sizes
|
||||||
property int trayWindowWidth: variableSize(400)
|
property int trayWindowWidth: variableSize(400)
|
||||||
|
|
Loading…
Reference in a new issue