aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2023-01-18 23:15:52 +0000
committerArseniy Movshev <dodoradio@outlook.com>2023-01-18 23:15:52 +0000
commit9de6b9bf4ae91517e293f7fb02df19d26da97516 (patch)
tree1ddf0dc6c88e2355f983598d6461b572840ebe5b
parentc9adddb2f5a4f5995fefc4ce2859d8a04c0a5caa (diff)
setpointpage: fix clipping of the icon selector
-rw-r--r--src/SetPointPage.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SetPointPage.qml b/src/SetPointPage.qml
index 624e48d..4d93c93 100644
--- a/src/SetPointPage.qml
+++ b/src/SetPointPage.qml
@@ -57,8 +57,9 @@ Item {
}
ListView {
id: iconSelectorView
- width: parent.width
+ width: root.width
height: root.height*0.2
+ anchors.horizontalCenter: parent.horizontalCenter
orientation: ListView.Horizontal
model: iconModel
delegate: Asteroid.IconButton {