mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Fix width being incorrect on first time opening popups
CURA-9522
This commit is contained in:
parent
8c4276946d
commit
70d69031fe
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ Popup
|
|||
materialBrandSubMenu.width = mainWindow.width;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// This function can cause the scrollbar.width to update but this won't update the width (bug?) so it is done explicitly here.
|
||||
width = scrollViewContent.width + scrollbar.width + leftPadding + rightPadding
|
||||
}
|
||||
|
||||
padding: background.border.width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue