mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 20:31:35 -07:00
Fix sizing of materialBrandSelection
This also cleans up some stuff from the theme. Huzzah CURA-8979
This commit is contained in:
parent
93405bdb93
commit
f760ca146d
4 changed files with 4 additions and 11 deletions
|
|
@ -23,9 +23,8 @@ Column
|
|||
Cura.CategoryButton
|
||||
{
|
||||
width: parent.width
|
||||
height: UM.Theme.getSize("favorites_row").height
|
||||
labelText: sectionName
|
||||
labelFont: UM.Theme.getFont("default_bold")
|
||||
labelFont: UM.Theme.getFont("medium_bold")
|
||||
expanded: brand_section.expanded
|
||||
onClicked:
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Rectangle
|
|||
property var material: null
|
||||
property bool hovered: false
|
||||
|
||||
height: UM.Theme.getSize("favorites_row").height
|
||||
height: UM.Theme.getSize("preferences_page_list_item").height
|
||||
width: parent.width
|
||||
color: UM.Theme.getColor("main_background")
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Column
|
|||
{
|
||||
id: categoryButton
|
||||
width: parent.width
|
||||
height: UM.Theme.getSize("favorites_row").height
|
||||
height: UM.Theme.getSize("preferences_page_list_item").height
|
||||
labelText: materialName
|
||||
labelFont: UM.Theme.getFont("default")
|
||||
expanded: material_type_section.expanded
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue