mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed background color of input fields in crash reports with dark theme.
This commit is contained in:
parent
a425024f21
commit
8c2b1168af
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ PreLaunchInput::PreLaunchInput(QWidget *parent, bool password) : QLineEdit(paren
|
||||||
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