diff --git a/skins/material/QskMaterialSkin.cpp b/skins/material/QskMaterialSkin.cpp index fe2df2ea..aac89c7e 100644 --- a/skins/material/QskMaterialSkin.cpp +++ b/skins/material/QskMaterialSkin.cpp @@ -526,7 +526,7 @@ void QskMaterialSkin::initInputPanelHints() const ColorPalette& pal = m_data->palette; // key panel -// setMargins( Q::KeyPanel | Margin, 2 ); + setMargins( QskInputPanel::Panel | Margin, 2 ); setBoxShape( Q::Panel, 20.0, Qt::RelativeSize ); setBoxBorderMetrics( Q::Panel, 2 ); @@ -540,13 +540,6 @@ void QskMaterialSkin::initInputPanelHints() setAnimation( Q::Panel | Color, qskDuration ); setAnimation( Q::Panel | Metric, qskDuration ); - // glyph -// setSkinHint( Q::KeyGlyph | Alignment, Qt::AlignCenter ); -// setFontRole( Q::KeyGlyph, QskSkin::TinyFont ); - -// setColor( Q::KeyGlyph, pal.textColor ); -// setColor( Q::KeyGlyph | Q::Disabled, pal.darker200 ); - // panel setBoxShape( Q::Panel, 0 ); setBoxBorderMetrics( Q::Panel, 0 ); diff --git a/skins/squiek/QskSquiekSkin.cpp b/skins/squiek/QskSquiekSkin.cpp index 81fd27cc..2effd19d 100644 --- a/skins/squiek/QskSquiekSkin.cpp +++ b/skins/squiek/QskSquiekSkin.cpp @@ -566,25 +566,9 @@ void QskSquiekSkin::initInputPanelHints() setButton( Q::Panel | Q::Pressed, Sunken ); setAnimation( Q::Panel | Color, qskDuration ); -#if 0 - // crashes because animations are started from updateNode - // TODO ... - - setAnimation( Q::Panel | Metric, qskDuration ); -#endif - - // glyph -// setSkinHint( Q::Text | Alignment, Qt::AlignCenter ); -// setFontRole( Q::Text, QskSkin::TinyFont ); setColor( Q::Text, pal.themeForeground ); setColor( Q::Text | Q::Disabled, pal.darker200 ); - -// // panel - -// setMargins( Q::Panel | Padding, 5 ); -// setMargins( Q::Panel | Spacing, 5 ); -// setPanel( Q::Panel, Raised ); } void QskSquiekSkin::initScrollViewHints()