[plasmalnf] Improve layout of theme widget
This commit is contained in:
parent
244919d6fe
commit
2db485bb33
@ -32,9 +32,9 @@ ThemeWidget::ThemeWidget(const ThemeInfo& info, QWidget* parent)
|
|||||||
QHBoxLayout* layout = new QHBoxLayout( this );
|
QHBoxLayout* layout = new QHBoxLayout( this );
|
||||||
this->setLayout( layout );
|
this->setLayout( layout );
|
||||||
|
|
||||||
layout->addWidget( m_check );
|
layout->addWidget( m_check, 1 );
|
||||||
layout->addWidget( new QLabel( "Image", this ) );
|
layout->addWidget( new QLabel( "Image", this ), 1 );
|
||||||
layout->addWidget( new QLabel( info.description, this ) );
|
layout->addWidget( new QLabel( info.description, this ), 3 );
|
||||||
|
|
||||||
connect( m_check, &QRadioButton::clicked, this, &ThemeWidget::clicked );
|
connect( m_check, &QRadioButton::clicked, this, &ThemeWidget::clicked );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user