we do not want to have standard buttons here
This commit is contained in:
parent
5199012658
commit
c8dc9db00a
|
@ -75,6 +75,9 @@ class Thumbnail : public QskPushButton
|
||||||
setGraphic( thumbnailGraphic( color, shape, size ) );
|
setGraphic( thumbnailGraphic( color, shape, size ) );
|
||||||
setFixedSize( size );
|
setFixedSize( size );
|
||||||
|
|
||||||
|
setBoxShapeHint( QskPushButton::Panel, QskBoxShapeMetrics( 20, Qt::RelativeSize ) );
|
||||||
|
setStrutSizeHint( QskPushButton::Graphic, -1, -1 );
|
||||||
|
|
||||||
setSection( QskAspect::Header ); // to make them flat
|
setSection( QskAspect::Header ); // to make them flat
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue