From 2a2a8e4df63f6da495b97840e3a5caaac4806302 Mon Sep 17 00:00:00 2001 From: dreamsourcelabTAI Date: Mon, 12 Jun 2023 15:16:47 +0800 Subject: [PATCH] The combobox not fully displayed --- DSView/pv/ui/dscombobox.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DSView/pv/ui/dscombobox.cpp b/DSView/pv/ui/dscombobox.cpp index 7d769bf2..d1ca0194 100644 --- a/DSView/pv/ui/dscombobox.cpp +++ b/DSView/pv/ui/dscombobox.cpp @@ -67,6 +67,10 @@ DsComboBox::DsComboBox(QWidget *parent) : QComboBox(parent) x += 6; #endif +#ifndef _WIN32 + w += 3; +#endif + popup->setGeometry(x, y, w, h); int sy = QGuiApplication::primaryScreen()->size().height();