mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 20:46:01 +08:00
Started changing layout of layer view. CURA-3321
This commit is contained in:
parent
3a2438937d
commit
bb1fa3ae04
@ -146,13 +146,14 @@ Item
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.top: slider_background.bottom
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
//anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
width: UM.Theme.getSize("slider_layerview_background").width * 3
|
||||
height: slider.height + UM.Theme.getSize("default_margin").height * 2
|
||||
anchors.left: parent.right
|
||||
//anchors.verticalCenter: parent.verticalCenter
|
||||
//anchors.top: toolbar.top
|
||||
anchors.bottom: slider_background.top
|
||||
//anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
width: UM.Theme.getSize("slider_layerview_background").width * 4
|
||||
height: slider.height + UM.Theme.getSize("default_margin").height * 10
|
||||
color: UM.Theme.getColor("tool_panel_background");
|
||||
border.width: UM.Theme.getSize("default_lining").width
|
||||
border.color: UM.Theme.getColor("lining")
|
||||
@ -173,8 +174,10 @@ Item
|
||||
ComboBox
|
||||
{
|
||||
id: layer_type_combobox
|
||||
anchors.top: slider_background.bottom
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
model: layerViewTypes
|
||||
visible: !UM.LayerView.compatibilityMode
|
||||
onActivated: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user