mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06: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
|
||||
|
|
|
@ -431,8 +431,6 @@
|
|||
"layerview_nozzle": [224, 192, 16, 64],
|
||||
"layerview_starts": [255, 255, 255, 255],
|
||||
|
||||
"favorites_header_bar": [245, 245, 245, 255],
|
||||
"favorites_row_selected": [196, 239, 255, 255],
|
||||
|
||||
"monitor_printer_family_tag": [228, 228, 242, 255],
|
||||
"monitor_text_disabled": [238, 238, 238, 255],
|
||||
|
@ -561,11 +559,7 @@
|
|||
"medium_button_icon": [2, 2],
|
||||
|
||||
"context_menu": [20, 2],
|
||||
|
||||
"favorites_row": [2, 2],
|
||||
"favorites_button": [2, 2],
|
||||
"favorites_button_icon": [1.2, 1.2],
|
||||
|
||||
|
||||
"icon_indicator": [1, 1],
|
||||
|
||||
"printer_status_icon": [1.0, 1.0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue