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
|
Item
|
||||||
{
|
{
|
||||||
id: applicationSwitcherWidget
|
id: applicationSwitcherWidget
|
||||||
width: applicationSwitcherButton.width
|
width: Math.round(0.5 * UM.Theme.getSize("main_window_header").height)
|
||||||
height: width
|
height: width
|
||||||
|
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
id: applicationSwitcherButton
|
id: applicationSwitcherButton
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
|
|
||||||
width: Math.round(0.5 * UM.Theme.getSize("main_window_header").height)
|
anchors.fill: parent
|
||||||
height: width
|
|
||||||
|
|
||||||
background: Item
|
background: Item
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue