The combobox not fully displayed

This commit is contained in:
dreamsourcelabTAI 2023-06-12 15:16:47 +08:00
parent 81815e2f11
commit 2a2a8e4df6

View File

@ -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();