diff --git a/liblxqt-config-cursor/selectwnd.cpp b/liblxqt-config-cursor/selectwnd.cpp index 8240ce451..936983ce3 100644 --- a/liblxqt-config-cursor/selectwnd.cpp +++ b/liblxqt-config-cursor/selectwnd.cpp @@ -49,6 +49,10 @@ SelectWnd::SelectWnd(LXQt::Settings* settings, QWidget *parent) { ui->setupUi(this); ui->warningLabel->hide(); + if (QGuiApplication::platformName() == QStringLiteral("wayland")) + { + ui->waylandLabel->setText(tr("
Note
: Under Wayland, cursor theme and size are configured by the compositor instead.")); + } ui->preview->setCurrentCursorSize(getDefaultCursorSize()); ui->preview->setCursorSize(ui->preview->getCurrentCursorSize()); diff --git a/liblxqt-config-cursor/selectwnd.ui b/liblxqt-config-cursor/selectwnd.ui index 8a83b68d1..30777d868 100644 --- a/liblxqt-config-cursor/selectwnd.ui +++ b/liblxqt-config-cursor/selectwnd.ui @@ -24,7 +24,23 @@ - + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 10 + 20 + + + + + @@ -43,7 +59,7 @@ - + QAbstractItemView::NoEditTriggers @@ -112,6 +128,16 @@ + + + + + + + true + + +