Skip to content
Snippets Groups Projects
Commit f8048974 authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu
Browse files

qml: use anchoring in `EmptyLabel.qml` labels

This is because in some cases (such as changing
the interface scale) the `Column` does not
re-position them.
parent 28b15287
Branches 3.0.x
No related tags found
No related merge requests found
Pipeline #587131 passed with stage
in 13 minutes and 54 seconds
......@@ -88,6 +88,8 @@ T.Control {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
anchors.horizontalCenter: parent.horizontalCenter
focus: false
color: theme.fg.primary
......
......@@ -40,7 +40,7 @@ EmptyLabel {
Widgets.CaptionLabel {
id: labelHint
width: parent.width
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment