Merge branch 'users-explanation-layout'
This commit is contained in:
commit
e71b338b2f
@ -99,6 +99,13 @@ UsersPage::UsersPage( QWidget* parent )
|
|||||||
setWriteRootPassword( true );
|
setWriteRootPassword( true );
|
||||||
ui->checkBoxReusePassword->setChecked( 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 ); )
|
CALAMARES_RETRANSLATE( ui->retranslateUi( this ); )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -444,6 +444,22 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</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>
|
<item>
|
||||||
<widget class="QCheckBox" name="checkBoxAutoLogin">
|
<widget class="QCheckBox" name="checkBoxAutoLogin">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
Loading…
Reference in New Issue
Block a user