mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 03:11:03 -07:00
Fix top bar tab layout when it has an icon
This commit is contained in:
parent
548761fcc3
commit
9e3c681d66
1 changed files with 1 additions and 2 deletions
|
|
@ -75,9 +75,8 @@ Rectangle
|
||||||
checkable: true
|
checkable: true
|
||||||
checked: model.active
|
checked: model.active
|
||||||
exclusiveGroup: topbarMenuGroup
|
exclusiveGroup: topbarMenuGroup
|
||||||
style: UM.Theme.styles.topbar_header_tab
|
style: (model.stage.iconSource != "") ? UM.Theme.styles.topbar_header_tab_no_overlay : UM.Theme.styles.topbar_header_tab
|
||||||
height: UM.Theme.getSize("sidebar_header").height
|
height: UM.Theme.getSize("sidebar_header").height
|
||||||
width: UM.Theme.getSize("topbar_button").width
|
|
||||||
onClicked: UM.Controller.setActiveStage(model.id)
|
onClicked: UM.Controller.setActiveStage(model.id)
|
||||||
iconSource: model.stage.iconSource
|
iconSource: model.stage.iconSource
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue