diff --git a/src/main.cpp b/src/main.cpp index 2001f1a063867d26f76c33f1f636a7a13c41bba0..1f3da59020fa7757cd426aefca87d48d6a22e0d7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -138,7 +138,7 @@ int main(int argc, char *argv[]) f.setPixelSize(qRound(static_cast<qreal>(f.pixelSize()) * gl->guiScale())); auto pal = qApp->palette(); pal.setColor(QPalette::Active, QPalette::Highlight, QColor(0, 160, 160)); // Teal color of highlight for Android - pal.setColor(QPalette::Active, QPalette::Shadow, QColor(144, 144, 144)); // Dark gray for shadow + pal.setColor(QPalette::Active, QPalette::Shadow, QColor(120, 120, 120)); // Dark gray for shadow qApp->setPalette(pal); #elif defined (Q_OS_WIN) QSettings accent(QStringLiteral("HKEY_USERS\\.DEFAULT\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Accent"), diff --git a/src/qml/exam/ExamTip.qml b/src/qml/exam/ExamTip.qml index 5a9f8565bacc460fe01cfbd0d36fde56591319b4..56aee0bf53eaf027721170ae12ade551256dd95e 100644 --- a/src/qml/exam/ExamTip.qml +++ b/src/qml/exam/ExamTip.qml @@ -25,7 +25,8 @@ TipRect { color: Qt.tint(activPal.base, Noo.alpha(bg, 50)) border { width: Noo.fontSize() / 6; color: bg } - shadowRadius: Noo.fontSize() * (Noo.isAndroid() ? 0.5 : 3); horizontalOffset: Noo.fontSize() / 3; verticalOffset: horizontalOffset + shadowRadius: Noo.fontSize() * (Noo.isAndroid() ? 1 : 3) + horizontalOffset: Noo.isAndroid() ? 0 : Noo.fontSize() / 3; verticalOffset: horizontalOffset z: 200 x: Noo.bound(shadowRadius, offX - width / 2, executor.width - width - shadowRadius) y: Noo.bound(shadowRadius, offY - height / 2, executor.height - height - shadowRadius)