From 1839cd452f68ffb424eb5eea462a4dfc07e4e73e Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Tue, 7 Jun 2022 12:10:40 +0200 Subject: [PATCH] Material: More skin hints --- skins/material/QskMaterialSkin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skins/material/QskMaterialSkin.cpp b/skins/material/QskMaterialSkin.cpp index 48bf2267..e9ffcfc5 100644 --- a/skins/material/QskMaterialSkin.cpp +++ b/skins/material/QskMaterialSkin.cpp @@ -413,7 +413,7 @@ void Editor::setupPushButton() using A = QskAspect; using Q = QskPushButton; - setStrutSize( Q::Panel, -1, qskDpiScaled( 40.0 ) ); + setStrutSize( Q::Panel, -1, 31 ); setSpacing( Q::Panel, qskDpiScaled( 4 ) ); setPadding( Q::Panel, { 24, 0, 20, 0 } ); @@ -879,7 +879,7 @@ QskMaterialSkin::QskMaterialSkin( const QskMaterialTheme& palette, QObject* pare setupFonts( QStringLiteral( "Roboto" ) ); auto buttonFont = font( QskSkin::DefaultFont ); - buttonFont.setCapitalization( QFont::AllUppercase ); + buttonFont.setPixelSize( 14 ); setFont( ButtonFontRole, buttonFont ); Editor editor( &hintTable(), palette );