workaround added to avoid that the input field is shrinking too much
This commit is contained in:
parent
281ab9bff0
commit
d8b668603f
|
@ -55,7 +55,9 @@ namespace
|
||||||
auto input = new QskTextInput( "12345", this );
|
auto input = new QskTextInput( "12345", this );
|
||||||
input->setMaxLength( 5 );
|
input->setMaxLength( 5 );
|
||||||
input->setEchoMode( QskTextInput::PasswordEchoOnEdit );
|
input->setEchoMode( QskTextInput::PasswordEchoOnEdit );
|
||||||
input->setSizePolicy( Qt::Horizontal, QskSizePolicy::Fixed );
|
#if 1
|
||||||
|
input->setFixedWidth( 80 );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue