material style: remove common hints

Resolves #211
This commit is contained in:
Peter Hartmann 2023-02-17 14:32:24 +01:00 committed by uwerat
parent cf2e17def5
commit 9cdc1f6357

View File

@ -126,8 +126,6 @@ namespace
void setup();
private:
void setupControl();
void setupBox();
void setupCheckBox();
void setupDialogButtonBox();
@ -185,8 +183,6 @@ namespace
void Editor::setup()
{
setupControl();
setupBox();
setupCheckBox();
setupDialogButtonBox();
@ -213,16 +209,6 @@ void Editor::setup()
setupTextInput();
}
void Editor::setupControl()
{
using A = QskAspect;
setPadding( A::NoSubcontrol, 11_dp );
setGradient( A::NoSubcontrol, m_pal.background );
setColor( A::NoSubcontrol | A::StyleColor, m_pal.onBackground );
}
void Editor::setupCheckBox()
{
// skin hints are ordered according to