mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Move ViewOrientationControl to lower left corner
This also renames the component to better reflect what it is (the old name implied that it had something to do with orientation views, wheres it's actually a set of controls to change orientation) CURA-5772
This commit is contained in:
parent
b3fc76092d
commit
1ed3558b9a
3 changed files with 18 additions and 12 deletions
|
@ -13,6 +13,7 @@ import Cura 1.1 as Cura
|
||||||
import "Dialogs"
|
import "Dialogs"
|
||||||
import "Menus"
|
import "Menus"
|
||||||
import "Skeleton"
|
import "Skeleton"
|
||||||
|
import "components"
|
||||||
|
|
||||||
UM.MainWindow
|
UM.MainWindow
|
||||||
{
|
{
|
||||||
|
@ -197,7 +198,7 @@ UM.MainWindow
|
||||||
{
|
{
|
||||||
id: applicationViews
|
id: applicationViews
|
||||||
|
|
||||||
visible: UM.Controller.activeStage.stageId != "MonitorStage"
|
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
top: parent.top
|
top: parent.top
|
||||||
|
@ -311,6 +312,20 @@ UM.MainWindow
|
||||||
bottomMargin: UM.Theme.getSize("default_margin").height
|
bottomMargin: UM.Theme.getSize("default_margin").height
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ViewOrientationControls
|
||||||
|
{
|
||||||
|
id: viewOrientationControls
|
||||||
|
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
left: parent.left
|
||||||
|
margins: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
|
bottom: parent.bottom
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,16 +20,6 @@ Item
|
||||||
|
|
||||||
height: UM.Theme.getSize("views_selector").height
|
height: UM.Theme.getSize("views_selector").height
|
||||||
|
|
||||||
OrientationViews
|
|
||||||
{
|
|
||||||
id: orientationViews
|
|
||||||
|
|
||||||
anchors {
|
|
||||||
verticalCenter: parent.verticalCenter
|
|
||||||
right: viewModeButton.left
|
|
||||||
rightMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ComboBox
|
ComboBox
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,8 @@ Row
|
||||||
id: viewOrientationControl
|
id: viewOrientationControl
|
||||||
|
|
||||||
spacing: 2 * screenScaleFactor
|
spacing: 2 * screenScaleFactor
|
||||||
|
height: childrenRect.height
|
||||||
|
width: childrenRect.width
|
||||||
// #1 3d view
|
// #1 3d view
|
||||||
Button
|
Button
|
||||||
{
|
{
|
Loading…
Add table
Add a link
Reference in a new issue