mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-03 12:25:38 -04:00
Fix background of branding placeholder.
This commit is contained in:
parent
4ee9f68ceb
commit
50c40e4272
1 changed files with 9 additions and 0 deletions
|
@ -48,6 +48,15 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
|
||||||
sideLayout->addLayout( logoLayout );
|
sideLayout->addLayout( logoLayout );
|
||||||
logoLayout->addStretch();
|
logoLayout->addStretch();
|
||||||
QLabel* logoLabel = new QLabel( "branding\ngoes\nhere", sideBox );
|
QLabel* logoLabel = new QLabel( "branding\ngoes\nhere", sideBox );
|
||||||
|
{
|
||||||
|
QPalette plt = sideBox->palette();
|
||||||
|
sideBox->setAutoFillBackground( true );
|
||||||
|
plt.setColor( sideBox->backgroundRole(), QColor( "#292F34" ) );
|
||||||
|
plt.setColor( sideBox->foregroundRole(), Qt::white );
|
||||||
|
sideBox->setPalette( plt );
|
||||||
|
logoLabel->setPalette( plt );
|
||||||
|
}
|
||||||
|
logoLabel->setAlignment( Qt::AlignCenter );
|
||||||
logoLabel->setFixedSize( 80, 80 );
|
logoLabel->setFixedSize( 80, 80 );
|
||||||
logoLayout->addWidget( logoLabel );
|
logoLayout->addWidget( logoLabel );
|
||||||
logoLayout->addStretch();
|
logoLayout->addStretch();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue