we do not want to have standard buttons here

This commit is contained in:
Uwe Rathmann 2023-03-05 11:09:17 +01:00
parent 5199012658
commit c8dc9db00a
1 changed files with 3 additions and 0 deletions

View File

@ -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
}