From c8dc9db00a350d649f5b6b3edf614bc1293a20c1 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Sun, 5 Mar 2023 11:09:17 +0100 Subject: [PATCH] we do not want to have standard buttons here --- examples/thumbnails/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/thumbnails/main.cpp b/examples/thumbnails/main.cpp index a4820c05..1a001af0 100644 --- a/examples/thumbnails/main.cpp +++ b/examples/thumbnails/main.cpp @@ -75,6 +75,9 @@ class Thumbnail : public QskPushButton setGraphic( thumbnailGraphic( color, shape, size ) ); setFixedSize( size ); + setBoxShapeHint( QskPushButton::Panel, QskBoxShapeMetrics( 20, Qt::RelativeSize ) ); + setStrutSizeHint( QskPushButton::Graphic, -1, -1 ); + setSection( QskAspect::Header ); // to make them flat }