mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:29:01 +08:00
Fix top bar tab layout when it has an icon
This commit is contained in:
parent
548761fcc3
commit
9e3c681d66
@ -75,9 +75,8 @@ Rectangle
|
||||
checkable: true
|
||||
checked: model.active
|
||||
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
|
||||
width: UM.Theme.getSize("topbar_button").width
|
||||
onClicked: UM.Controller.setActiveStage(model.id)
|
||||
iconSource: model.stage.iconSource
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user