Replace the shadow of the PrepareMenu with a border

In order for that to be possible, the background border of the ExpandablePopup and the ExpandableComponent had to be exposed.

In addition, since in the `RowLayout` the `ConfigurationMenu` and the `MachineSelector` both draw a border around them, it means that there will be a double "divider" (one border line from each button). To overcome that, we set the spacing of the `RowLayout` as a `- border_width`, which ensures then that there will be only a single line of border between the two adjacent buttons.

CURA-8013
This commit is contained in:
Konstantinos Karmas 2021-06-28 17:50:38 +02:00
parent 77a8f36153
commit 294b67f72f
4 changed files with 18 additions and 31 deletions

View file

@ -56,6 +56,8 @@ Item
// How much padding is needed around the header & button
property alias headerPadding: background.padding
property alias headerBackgroundBorder: background.border
// What icon should be displayed on the right.
property alias iconSource: collapseButton.source