diff --git a/src/widgets/ClippingWrapperRectangle.qml b/src/widgets/ClippingWrapperRectangle.qml index c8e65c85..f338d2cf 100644 --- a/src/widgets/ClippingWrapperRectangle.qml +++ b/src/widgets/ClippingWrapperRectangle.qml @@ -39,7 +39,7 @@ ClippingRectangle { /// Defaults to @@margin, and may be reset by assigning `undefined`. property /*real*/alias rightMargin: manager.rightMargin /// 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. + /// the parent is resized larger than its implicit size. Defaults to true. property /*bool*/alias resizeChild: manager.resizeChild /// Overrides the implicit width of the wrapper. /// diff --git a/src/widgets/WrapperItem.qml b/src/widgets/WrapperItem.qml index 280e58ef..5a1093e8 100644 --- a/src/widgets/WrapperItem.qml +++ b/src/widgets/WrapperItem.qml @@ -53,7 +53,7 @@ Item { /// Defaults to @@margin, and may be reset by assigning `undefined`. property /*real*/alias rightMargin: manager.rightMargin /// 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. + /// the parent is resized larger than its implicit size. Defaults to true. property /*bool*/alias resizeChild: manager.resizeChild /// Overrides the implicit width of the wrapper. /// diff --git a/src/widgets/WrapperMouseArea.qml b/src/widgets/WrapperMouseArea.qml index beeec222..67f3a592 100644 --- a/src/widgets/WrapperMouseArea.qml +++ b/src/widgets/WrapperMouseArea.qml @@ -41,7 +41,7 @@ MouseArea { /// Defaults to @@margin, and may be reset by assigning `undefined`. property /*real*/alias rightMargin: manager.rightMargin /// 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. + /// the parent is resized larger than its implicit size. Defaults to true. property /*bool*/alias resizeChild: manager.resizeChild /// Overrides the implicit width of the wrapper. /// diff --git a/src/widgets/WrapperRectangle.qml b/src/widgets/WrapperRectangle.qml index e769d686..a08a2a05 100644 --- a/src/widgets/WrapperRectangle.qml +++ b/src/widgets/WrapperRectangle.qml @@ -43,7 +43,7 @@ Rectangle { /// Defaults to @@margin, and may be reset by assigning `undefined`. property /*real*/alias rightMargin: manager.rightMargin /// 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. + /// the parent is resized larger than its implicit size. Defaults to true. property /*bool*/alias resizeChild: manager.resizeChild /// Overrides the implicit width of the wrapper. /// diff --git a/src/widgets/marginwrapper.hpp b/src/widgets/marginwrapper.hpp index bb70416e..ac925b92 100644 --- a/src/widgets/marginwrapper.hpp +++ b/src/widgets/marginwrapper.hpp @@ -68,7 +68,7 @@ class MarginWrapperManager: public WrapperManager { /// Defaults to @@margin, and may be reset by assigning `undefined`. Q_PROPERTY(qreal rightMargin READ rightMargin WRITE setRightMargin RESET resetRightMargin NOTIFY rightMarginChanged FINAL); /// 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. + /// the parent is resized larger than its implicit size. Defaults to true. Q_PROPERTY(bool resizeChild READ default WRITE default BINDABLE bindableResizeChild NOTIFY resizeChildChanged FINAL); /// Overrides the implicit width of the wrapper. /// @@ -170,7 +170,7 @@ protected: private: // clang-format off - Q_OBJECT_BINDABLE_PROPERTY(MarginWrapperManager, bool, bResizeChild); + Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS(MarginWrapperManager, bool, bResizeChild, true); Q_OBJECT_BINDABLE_PROPERTY(MarginWrapperManager, qreal, bMargin, &MarginWrapperManager::marginChanged); Q_OBJECT_BINDABLE_PROPERTY(MarginWrapperManager, qreal, bExtraMargin, &MarginWrapperManager::baseMarginChanged);