mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Make sure saveRow does not extend sidebar
This commit is contained in:
parent
177295999b
commit
208d365d51
1 changed files with 5 additions and 2 deletions
|
@ -18,6 +18,8 @@ Item {
|
||||||
property var backend: CuraApplication.getBackend();
|
property var backend: CuraApplication.getBackend();
|
||||||
property bool activity: CuraApplication.platformActivity;
|
property bool activity: CuraApplication.platformActivity;
|
||||||
|
|
||||||
|
property alias buttonRowWidth: saveRow.width
|
||||||
|
|
||||||
property string fileBaseName
|
property string fileBaseName
|
||||||
property string statusText:
|
property string statusText:
|
||||||
{
|
{
|
||||||
|
@ -89,11 +91,12 @@ Item {
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: saveRow
|
id: saveRow
|
||||||
width: base.width
|
width: Math.min(childrenRect.width + UM.Theme.getSize("sidebar_margin").width, base.width - UM.Theme.getSize("sidebar_margin").width)
|
||||||
height: saveToButton.height
|
height: saveToButton.height
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: UM.Theme.getSize("sidebar_margin").height
|
anchors.bottomMargin: UM.Theme.getSize("sidebar_margin").height
|
||||||
anchors.left: parent.left
|
anchors.right: parent.right
|
||||||
|
clip: true
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: additionalComponentsRow
|
id: additionalComponentsRow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue