mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 02:45:44 -05:00
Merge branch 'users-explanation-layout'
This commit is contained in:
commit
e71b338b2f
2 changed files with 23 additions and 0 deletions
|
@ -99,6 +99,13 @@ UsersPage::UsersPage( QWidget* parent )
|
|||
setWriteRootPassword( true );
|
||||
ui->checkBoxReusePassword->setChecked( true );
|
||||
|
||||
// Don't expand the explanations to "stupid wide", but keep them vaguely as-wide-as
|
||||
// the things they are explaining.
|
||||
int boxWidth = qMax( qMax( ui->textBoxUsername->width(), ui->textBoxHostname->width() ), ui->textBoxUserPassword->width() );
|
||||
ui->username_extra_label_2->setMaximumWidth( 3 * boxWidth );
|
||||
ui->hostname_extra_label_2->setMaximumWidth( 3 * boxWidth );
|
||||
ui->password_extra_label_3->setMaximumWidth( 3 * boxWidth );
|
||||
|
||||
CALAMARES_RETRANSLATE( ui->retranslateUi( this ); )
|
||||
}
|
||||
|
||||
|
|
|
@ -444,6 +444,22 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_5">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Fixed</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>6</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkBoxAutoLogin">
|
||||
<property name="text">
|
||||
|
|
Loading…
Add table
Reference in a new issue