mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 12:05:54 +08:00
Remove padding from views selector
This padding made it break the height of the item for some reason. I guess that is a Qt bug. In any case, the padding shouldn't be there either since the lining is on the inside of the child buttons so the padding only causes a gap to appear on the left and right sides, which looks weird. Contributes to issue CURA-6029.
This commit is contained in:
parent
b70a4ae0a2
commit
3a74511d23
@ -78,8 +78,6 @@ Cura.ExpandablePopup
|
|||||||
{
|
{
|
||||||
id: viewSelectorPopup
|
id: viewSelectorPopup
|
||||||
width: viewSelector.width - 2 * viewSelector.contentPadding
|
width: viewSelector.width - 2 * viewSelector.contentPadding
|
||||||
leftPadding: UM.Theme.getSize("default_lining").width
|
|
||||||
rightPadding: UM.Theme.getSize("default_lining").width
|
|
||||||
|
|
||||||
// For some reason the height/width of the column gets set to 0 if this is not set...
|
// For some reason the height/width of the column gets set to 0 if this is not set...
|
||||||
Component.onCompleted:
|
Component.onCompleted:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user