mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06: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
|
@ -167,6 +167,25 @@ UM.MainWindow {
|
|||
width: parent.width * 0.333;
|
||||
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 {
|
||||
id: descriptionPane;
|
||||
|
@ -210,7 +229,7 @@ UM.MainWindow {
|
|||
right: sidebar.left;
|
||||
rightMargin: UM.Theme.sizes.window_margin.width;
|
||||
}
|
||||
|
||||
id: viewModeButton
|
||||
//: View Mode toolbar button
|
||||
text: qsTr("View Mode");
|
||||
iconSource: UM.Theme.icons.viewmode;
|
||||
|
@ -373,6 +392,8 @@ UM.MainWindow {
|
|||
UM.MeshFileHandler.writeLocalFile(fileUrl);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
EngineLog {
|
||||
id: engineLog;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue