forked from quickshell/quickshell
widgets/cliprect: override parent's implicit size instead of wrapper
Adding implicitSize to margin wrappers broke implicit sizing of ClippingWrapperRectangle.
This commit is contained in:
parent
73e673ea1c
commit
7390ae28e4
3 changed files with 14 additions and 9 deletions
7
src/widgets/ClippingWrapperRectangleInternal.qml
Normal file
7
src/widgets/ClippingWrapperRectangleInternal.qml
Normal file
|
@ -0,0 +1,7 @@
|
|||
import QtQuick
|
||||
|
||||
ClippingRectangle {
|
||||
id: root
|
||||
property alias __implicitWidthInternal: root.implicitWidth
|
||||
property alias __implicitHeightInternal: root.implicitHeight
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue