mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Replace style sheet in PreLaunchInput
This commit is contained in:
parent
387914be31
commit
4c6814def6
1 changed files with 2 additions and 2 deletions
|
@ -110,12 +110,12 @@ PreLaunchInput::PreLaunchInput(QWidget *parent, bool password) : QLineEdit(paren
|
|||
setFont(logFont);
|
||||
|
||||
QPalette p(palette());
|
||||
p.setColor(QPalette::Window, QColor(255, 255, 255));
|
||||
p.setColor(QPalette::Base, QColor(255, 255, 255));
|
||||
p.setColor(QPalette::WindowText, QColor(0, 0, 0));
|
||||
p.setColor(QPalette::Text, QColor(0, 0, 0));
|
||||
setPalette(p);
|
||||
|
||||
setStyleSheet("QLineEdit { background-color: white; }");
|
||||
|
||||
QLineEdit::setTextMargins(0, 0, 0, 0);
|
||||
setContentsMargins(0, 0, 0, 0);
|
||||
if (password) {
|
||||
|
|
Loading…
Add table
Reference in a new issue