Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2021-07-07 11:27:53 +0300
committerGhostkeeper <rubend@tutanota.com>2021-07-07 12:36:10 +0300
commit8e5485330fe974cd76ea86c7850ba86df76da536 (patch)
tree067720a01bc07736f764e4b1fd8a675cd3aa2d9c /plugins/PrepareStage
parent92293e70086112b889bdc96d56b29904d8381f92 (diff)
Align sizes of prepare and preview menus
For some reason, the prepare menu is still one pixel too small. I think it's got to do with that one being a layout rather than a normal row. Contributes to issue CURA-8202.
Diffstat (limited to 'plugins/PrepareStage')
-rw-r--r--plugins/PrepareStage/PrepareMenu.qml8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/PrepareStage/PrepareMenu.qml b/plugins/PrepareStage/PrepareMenu.qml
index 82f61da069..2d3814309e 100644
--- a/plugins/PrepareStage/PrepareMenu.qml
+++ b/plugins/PrepareStage/PrepareMenu.qml
@@ -23,16 +23,14 @@ Item
{
left: parent.left
right: parent.right
- leftMargin: UM.Theme.getSize("wide_margin").width
- rightMargin: UM.Theme.getSize("wide_margin").width
+ leftMargin: UM.Theme.getSize("wide_margin").width * 2
+ rightMargin: UM.Theme.getSize("wide_margin").width * 2
}
// Item to ensure that all of the buttons are nicely centered.
Item
{
- anchors.horizontalCenter: parent.horizontalCenter
- width: parent.width - 2 * UM.Theme.getSize("wide_margin").width
- height: parent.height
+ anchors.fill: parent
RowLayout
{