Material: More skin hints
This commit is contained in:
parent
3c69498026
commit
1839cd452f
@ -413,7 +413,7 @@ void Editor::setupPushButton()
|
|||||||
using A = QskAspect;
|
using A = QskAspect;
|
||||||
using Q = QskPushButton;
|
using Q = QskPushButton;
|
||||||
|
|
||||||
setStrutSize( Q::Panel, -1, qskDpiScaled( 40.0 ) );
|
setStrutSize( Q::Panel, -1, 31 );
|
||||||
setSpacing( Q::Panel, qskDpiScaled( 4 ) );
|
setSpacing( Q::Panel, qskDpiScaled( 4 ) );
|
||||||
setPadding( Q::Panel, { 24, 0, 20, 0 } );
|
setPadding( Q::Panel, { 24, 0, 20, 0 } );
|
||||||
|
|
||||||
@ -879,7 +879,7 @@ QskMaterialSkin::QskMaterialSkin( const QskMaterialTheme& palette, QObject* pare
|
|||||||
setupFonts( QStringLiteral( "Roboto" ) );
|
setupFonts( QStringLiteral( "Roboto" ) );
|
||||||
|
|
||||||
auto buttonFont = font( QskSkin::DefaultFont );
|
auto buttonFont = font( QskSkin::DefaultFont );
|
||||||
buttonFont.setCapitalization( QFont::AllUppercase );
|
buttonFont.setPixelSize( 14 );
|
||||||
setFont( ButtonFontRole, buttonFont );
|
setFont( ButtonFontRole, buttonFont );
|
||||||
|
|
||||||
Editor editor( &hintTable(), palette );
|
Editor editor( &hintTable(), palette );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user