mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 10:45:54 +08:00
Moved viewmode in order so the tooltip is displayed over per-object settings panel
CURA-1651
This commit is contained in:
parent
aed033674f
commit
bb4d4e7807
@ -321,23 +321,7 @@ UM.MainWindow
|
|||||||
sourceSize.height: height;
|
sourceSize.height: height;
|
||||||
}
|
}
|
||||||
|
|
||||||
Button
|
|
||||||
{
|
|
||||||
id: viewModeButton
|
|
||||||
|
|
||||||
anchors
|
|
||||||
{
|
|
||||||
top: toolbar.bottom;
|
|
||||||
topMargin: UM.Theme.getSize("window_margin").height;
|
|
||||||
left: parent.left;
|
|
||||||
}
|
|
||||||
text: catalog.i18nc("@action:button","View Mode");
|
|
||||||
iconSource: UM.Theme.getIcon("viewmode");
|
|
||||||
|
|
||||||
style: UM.Theme.styles.tool_button;
|
|
||||||
tooltip: '';
|
|
||||||
menu: ViewMenu { }
|
|
||||||
}
|
|
||||||
|
|
||||||
Toolbar
|
Toolbar
|
||||||
{
|
{
|
||||||
@ -367,6 +351,24 @@ UM.MainWindow
|
|||||||
width: UM.Theme.getSize("sidebar").width;
|
width: UM.Theme.getSize("sidebar").width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Button
|
||||||
|
{
|
||||||
|
id: viewModeButton
|
||||||
|
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
top: toolbar.bottom;
|
||||||
|
topMargin: UM.Theme.getSize("window_margin").height;
|
||||||
|
left: parent.left;
|
||||||
|
}
|
||||||
|
text: catalog.i18nc("@action:button","View Mode");
|
||||||
|
iconSource: UM.Theme.getIcon("viewmode");
|
||||||
|
|
||||||
|
style: UM.Theme.styles.tool_button;
|
||||||
|
tooltip: '';
|
||||||
|
menu: ViewMenu { }
|
||||||
|
}
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
id: viewportOverlay
|
id: viewportOverlay
|
||||||
|
Loading…
x
Reference in New Issue
Block a user