Fix sizing of materialBrandSelection

This also cleans up some stuff from the theme. Huzzah

CURA-8979
This commit is contained in:
Jaime van Kessel 2022-03-15 10:25:56 +01:00
parent 93405bdb93
commit f760ca146d
4 changed files with 4 additions and 11 deletions

View file

@ -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:
{

View file

@ -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")

View file

@ -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