mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 20:13:24 +00:00
More info in ThemeTest
This makes problems with the default font more apparent Signed-off-by: Sebastian Kügler <sebas@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7b320a7d34
commit
b7e33eb8bb
2 changed files with 15 additions and 4 deletions
|
@ -8,7 +8,4 @@ Text {
|
||||||
|
|
||||||
font.pointSize: 18
|
font.pointSize: 18
|
||||||
color: theme.textColor
|
color: theme.textColor
|
||||||
|
|
||||||
text: "empty label"
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,21 @@ GridLayout {
|
||||||
text: fm.height / fm.font.pointSize
|
text: fm.height / fm.font.pointSize
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Text {
|
||||||
|
text: "Text item pixelSize:"
|
||||||
|
}
|
||||||
|
Text {
|
||||||
|
text: font.pixelSize
|
||||||
|
}
|
||||||
|
|
||||||
|
Text {
|
||||||
|
text: "Text item pointSize:"
|
||||||
|
}
|
||||||
|
Text {
|
||||||
|
text: font.pointSize
|
||||||
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue