mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 00:36:03 +08: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
@ -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…
x
Reference in New Issue
Block a user