Merge pull request #343 from Kirillpt/fix/textFieldvalidation

fix validation feature in TextInput
This commit is contained in:
DeepBlueV7.X 2020-11-26 20:07:19 +01:00 committed by GitHub
commit 633fd31edc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ TextField::TextField(QWidget *parent)
label_font_size_ = 15;
show_label_ = false;
background_color_ = pal.color(QPalette::Window);
is_valid_ = true;
setFrame(false);
setAttribute(Qt::WA_Hover);