mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Set the width in the parent item
Fixes review comment https://github.com/Ultimaker/Cura/pull/10491#discussion_r713127038. CURA-8421
This commit is contained in:
parent
a3d04bc752
commit
2f75e299f5
1 changed files with 2 additions and 5 deletions
|
@ -11,17 +11,14 @@ import Cura 1.1 as Cura
|
|||
Item
|
||||
{
|
||||
id: applicationSwitcherWidget
|
||||
width: applicationSwitcherButton.width
|
||||
width: Math.round(0.5 * UM.Theme.getSize("main_window_header").height)
|
||||
height: width
|
||||
|
||||
Button
|
||||
{
|
||||
id: applicationSwitcherButton
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
width: Math.round(0.5 * UM.Theme.getSize("main_window_header").height)
|
||||
height: width
|
||||
anchors.fill: parent
|
||||
|
||||
background: Item
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue