mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 12:09:13 +08:00
15.10 Placement of the buttons in the contentArea
Contributes to: issue CURA-60
This commit is contained in:
parent
d69ca6fa41
commit
42fd35a8c2
@ -257,10 +257,12 @@ UM.MainWindow {
|
||||
}
|
||||
|
||||
Image {
|
||||
id: logo
|
||||
anchors {
|
||||
verticalCenter: openFileButton.verticalCenter;
|
||||
left: openFileButton.right;
|
||||
leftMargin: UM.Theme.sizes.window_margin.width;
|
||||
left: parent.left
|
||||
leftMargin: UM.Theme.sizes.default_margin.width;
|
||||
bottom: parent.bottom
|
||||
bottomMargin: UM.Theme.sizes.default_margin.height;
|
||||
}
|
||||
|
||||
source: UM.Theme.images.logo;
|
||||
@ -272,13 +274,12 @@ UM.MainWindow {
|
||||
}
|
||||
|
||||
Button {
|
||||
id: viewModeButton
|
||||
anchors {
|
||||
top: parent.top;
|
||||
topMargin: UM.Theme.sizes.window_margin.height;
|
||||
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;
|
||||
@ -308,10 +309,9 @@ UM.MainWindow {
|
||||
id: toolbar;
|
||||
|
||||
anchors {
|
||||
left: parent.left;
|
||||
leftMargin: UM.Theme.sizes.window_margin.width;
|
||||
bottom: parent.bottom;
|
||||
bottomMargin: UM.Theme.sizes.window_margin.height;
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
horizontalCenterOffset: -(UM.Theme.sizes.panel.width / 2)
|
||||
top: parent.top;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user