mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 13:45:52 +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 {
|
Rectangle {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
//anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.top: slider_background.bottom
|
//anchors.top: toolbar.top
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
anchors.bottom: slider_background.top
|
||||||
//anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
//anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
width: UM.Theme.getSize("slider_layerview_background").width * 3
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
height: slider.height + UM.Theme.getSize("default_margin").height * 2
|
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");
|
color: UM.Theme.getColor("tool_panel_background");
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
border.color: UM.Theme.getColor("lining")
|
border.color: UM.Theme.getColor("lining")
|
||||||
@ -173,8 +174,10 @@ Item
|
|||||||
ComboBox
|
ComboBox
|
||||||
{
|
{
|
||||||
id: layer_type_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.left: parent.left
|
||||||
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
model: layerViewTypes
|
model: layerViewTypes
|
||||||
visible: !UM.LayerView.compatibilityMode
|
visible: !UM.LayerView.compatibilityMode
|
||||||
onActivated: {
|
onActivated: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user