forked from quickshell/quickshell
widgets/wrapper: support overriding implicit size
This commit is contained in:
parent
e135de9ec6
commit
3cf96ecf97
7 changed files with 146 additions and 26 deletions
|
@ -43,6 +43,16 @@ MouseArea {
|
|||
/// Determines if child item should be resized larger than its implicit size if
|
||||
/// the parent is resized larger than its implicit size. Defaults to false.
|
||||
property /*bool*/alias resizeChild: manager.resizeChild
|
||||
/// Overrides the implicit width of the wrapper.
|
||||
///
|
||||
/// Defaults to the implicit width of the content item plus its left and right margin,
|
||||
/// and may be reset by assigning `undefined`.
|
||||
property /*real*/alias implicitWidth: manager.implicitWidth
|
||||
/// Overrides the implicit height of the wrapper.
|
||||
///
|
||||
/// Defaults to the implicit width of the content item plus its top and bottom margin,
|
||||
/// and may be reset by assigning `undefined`.
|
||||
property /*real*/alias implicitHeight: manager.implicitHeight
|
||||
/// See @@WrapperManager.child for details.
|
||||
property /*Item*/alias child: manager.child
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue