workaround added to avoid that the input field is shrinking too much

This commit is contained in:
Uwe Rathmann 2023-03-10 16:32:21 +01:00
parent 281ab9bff0
commit d8b668603f

View File

@ -55,7 +55,9 @@ namespace
auto input = new QskTextInput( "12345", this );
input->setMaxLength( 5 );
input->setEchoMode( QskTextInput::PasswordEchoOnEdit );
input->setSizePolicy( Qt::Horizontal, QskSizePolicy::Fixed );
#if 1
input->setFixedWidth( 80 );
#endif
}
{