Merge pull request #343 from Kirillpt/fix/textFieldvalidation
fix validation feature in TextInput
This commit is contained in:
commit
633fd31edc
@ -20,6 +20,7 @@ TextField::TextField(QWidget *parent)
|
|||||||
label_font_size_ = 15;
|
label_font_size_ = 15;
|
||||||
show_label_ = false;
|
show_label_ = false;
|
||||||
background_color_ = pal.color(QPalette::Window);
|
background_color_ = pal.color(QPalette::Window);
|
||||||
|
is_valid_ = true;
|
||||||
|
|
||||||
setFrame(false);
|
setFrame(false);
|
||||||
setAttribute(Qt::WA_Hover);
|
setAttribute(Qt::WA_Hover);
|
||||||
|
Loading…
Reference in New Issue
Block a user