Mercurial > minori
diff src/gui/widgets/text.cc @ 86:c912128af0eb
*: various macos fixes
todo: push that bsd thing to upstream
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 31 Oct 2023 13:52:36 -0400 |
parents | d02fdf1d6708 |
children | 4aef97f4d998 |
line wrap: on
line diff
--- a/src/gui/widgets/text.cc Sun Oct 29 00:57:03 2023 -0400 +++ b/src/gui/widgets/text.cc Tue Oct 31 13:52:36 2023 -0400 @@ -42,7 +42,7 @@ setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); QPalette pal; - pal.setColor(QPalette::Window, Qt::transparent); + pal.setColor(QPalette::Base, Qt::transparent); setPalette(pal); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); @@ -79,7 +79,7 @@ setReadOnly(true); QPalette pal; - pal.setColor(QPalette::Window, Qt::transparent); + pal.setColor(QPalette::Base, Qt::transparent); setPalette(pal); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); @@ -100,8 +100,7 @@ setFont(fnt); QPalette pal(palette()); - pal.setColor(QPalette::Window, Qt::transparent); - pal.setColor(QPalette::Text, QColor(0x00, 0x33, 0x99)); + pal.setColor(QPalette::Text, Qt::blue); setPalette(pal); }