mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 13:51:12 -07:00
Layer view now has an awesome slider!
This commit is contained in:
parent
6d0e31aa8d
commit
34f92f38c8
1 changed files with 22 additions and 1 deletions
|
|
@ -168,6 +168,25 @@ UM.MainWindow {
|
||||||
height: 250;
|
height: 250;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loader
|
||||||
|
{
|
||||||
|
id: view_panel
|
||||||
|
|
||||||
|
//anchors.left: parent.left;
|
||||||
|
//anchors.right: parent.right;
|
||||||
|
//anchors.bottom: parent.bottom
|
||||||
|
anchors.top: viewModeButton.bottom
|
||||||
|
anchors.topMargin: UM.Theme.sizes.default_margin.height;
|
||||||
|
anchors.right: sidebar.left;
|
||||||
|
anchors.rightMargin: UM.Theme.sizes.window_margin.width;
|
||||||
|
//anchors.bottom: buttons.top;
|
||||||
|
//anchors.bottomMargin: UM.Theme.sizes.default_margin.height;
|
||||||
|
|
||||||
|
height: childrenRect.height;
|
||||||
|
|
||||||
|
source: UM.ActiveView.valid ? UM.ActiveView.activeViewPanel : "";
|
||||||
|
}
|
||||||
|
|
||||||
DescriptionPane {
|
DescriptionPane {
|
||||||
id: descriptionPane;
|
id: descriptionPane;
|
||||||
anchors.right: sidebar.left;
|
anchors.right: sidebar.left;
|
||||||
|
|
@ -210,7 +229,7 @@ UM.MainWindow {
|
||||||
right: sidebar.left;
|
right: sidebar.left;
|
||||||
rightMargin: UM.Theme.sizes.window_margin.width;
|
rightMargin: UM.Theme.sizes.window_margin.width;
|
||||||
}
|
}
|
||||||
|
id: viewModeButton
|
||||||
//: View Mode toolbar button
|
//: View Mode toolbar button
|
||||||
text: qsTr("View Mode");
|
text: qsTr("View Mode");
|
||||||
iconSource: UM.Theme.icons.viewmode;
|
iconSource: UM.Theme.icons.viewmode;
|
||||||
|
|
@ -374,6 +393,8 @@ UM.MainWindow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EngineLog {
|
EngineLog {
|
||||||
id: engineLog;
|
id: engineLog;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue