From b7cfb0b93669920a19a4c3c3e26b64e522e9d84e Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Mon, 3 Apr 2023 15:10:09 +0200 Subject: [PATCH] dimension fixed --- examples/gallery/button/ButtonPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gallery/button/ButtonPage.cpp b/examples/gallery/button/ButtonPage.cpp index 03166754..3026561a 100644 --- a/examples/gallery/button/ButtonPage.cpp +++ b/examples/gallery/button/ButtonPage.cpp @@ -18,7 +18,7 @@ namespace { public: ButtonBox( Qt::Orientation orientation, QQuickItem* parent = nullptr ) - : ButtonBox( orientation, -1, parent ) + : ButtonBox( orientation, std::numeric_limits< uint >::max(), parent ) { }