mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +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);
|
setFont(logFont);
|
||||||
|
|
||||||
QPalette p(palette());
|
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::WindowText, QColor(0, 0, 0));
|
||||||
p.setColor(QPalette::Text, QColor(0, 0, 0));
|
p.setColor(QPalette::Text, QColor(0, 0, 0));
|
||||||
setPalette(p);
|
setPalette(p);
|
||||||
|
|
||||||
setStyleSheet("QLineEdit { background-color: white; }");
|
|
||||||
|
|
||||||
QLineEdit::setTextMargins(0, 0, 0, 0);
|
QLineEdit::setTextMargins(0, 0, 0, 0);
|
||||||
setContentsMargins(0, 0, 0, 0);
|
setContentsMargins(0, 0, 0, 0);
|
||||||
if (password) {
|
if (password) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue