Fixed size of expandableItem not being the correct width

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-14 09:59:56 +01:00
parent 1569fd7396
commit fb72f9a059
4 changed files with 4 additions and 3 deletions

View file

@ -111,7 +111,7 @@ Item
// Make the popup right aligned with the rest. The 3x padding is due to left, right and padding between
//the button & text.
x: -width + collapseButton.width + headerItemLoader.width + 3 * background.padding
padding: UM.Theme.getSize("default_margin").width
closePolicy: Popup.CloseOnPressOutsideParent
background: Rectangle

View file

@ -92,7 +92,7 @@ Cura.ExpandableComponent
popupItem: Item
{
width: base.width
width: base.width - 2 * UM.Theme.getSize("default_margin").width
height: 200
TabBar