mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Tweak compatibility mode collapsed view panel
This commit is contained in:
parent
532331bd44
commit
b4b39f0949
2 changed files with 6 additions and 2 deletions
|
@ -21,6 +21,9 @@ Item
|
|||
}
|
||||
height: {
|
||||
if (viewSettings.collapsed) {
|
||||
if (UM.SimulationView.compatibilityMode) {
|
||||
return UM.Theme.getSize("layerview_menu_size_compatibility_collapsed").height;
|
||||
}
|
||||
return UM.Theme.getSize("layerview_menu_size_collapsed").height;
|
||||
} else if (UM.SimulationView.compatibilityMode) {
|
||||
return UM.Theme.getSize("layerview_menu_size_compatibility").height;
|
||||
|
@ -535,8 +538,8 @@ Item
|
|||
height: UM.Theme.getSize("layerview_menu_size").height
|
||||
|
||||
anchors {
|
||||
top: playButton.bottom
|
||||
topMargin: UM.Theme.getSize("default_margin").height
|
||||
top: !UM.SimulationView.compatibilityMode ? playButton.bottom : parent.top
|
||||
topMargin: !UM.SimulationView.compatibilityMode ? UM.Theme.getSize("default_margin").height : 0
|
||||
right: parent.right
|
||||
rightMargin: UM.Theme.getSize("slider_layerview_margin").width
|
||||
}
|
||||
|
|
|
@ -350,6 +350,7 @@
|
|||
"layerview_menu_size_material_color_mode": [15, 16],
|
||||
"layerview_menu_size_collapsed": [15, 6],
|
||||
"layerview_menu_size_compatibility": [22, 22.0],
|
||||
"layerview_menu_size_compatibility_collapsed": [15, 3.5],
|
||||
"layerview_legend_size": [1.0, 1.0],
|
||||
"layerview_row": [11.0, 1.5],
|
||||
"layerview_row_spacing": [0.0, 0.5],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue