mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
make sure to reset compactrep anchors
This commit is contained in:
parent
7c1bc53c9d
commit
57dfcbcce7
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ Item {
|
||||||
onCompactRepresentationChanged: {
|
onCompactRepresentationChanged: {
|
||||||
if (compactRepresentation) {
|
if (compactRepresentation) {
|
||||||
compactRepresentation.parent = root;
|
compactRepresentation.parent = root;
|
||||||
|
compactRepresentation.anchors.fill = undefined;
|
||||||
|
compactRepresentation.anchors.right = undefined;
|
||||||
compactRepresentation.anchors.left = root.left;
|
compactRepresentation.anchors.left = root.left;
|
||||||
compactRepresentation.anchors.top = root.top;
|
compactRepresentation.anchors.top = root.top;
|
||||||
compactRepresentation.width = units.iconSizes.medium;
|
compactRepresentation.width = units.iconSizes.medium;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue