设置filedialog侧边栏最小宽度

This commit is contained in:
tanjing 2024-01-30 15:19:29 +08:00
parent 306ac8e2ae
commit eca73264f6
1 changed files with 1 additions and 0 deletions

View File

@ -322,6 +322,7 @@ void Ui_KyFileDialog::initModeMenu(QDialog *mKyFileDialog)
void Ui_KyFileDialog::initSiderBar(QDialog *mKyFileDialog) void Ui_KyFileDialog::initSiderBar(QDialog *mKyFileDialog)
{ {
m_siderWidget = new QWidget(this); m_siderWidget = new QWidget(this);
m_siderWidget->setMinimumWidth(144);
m_siderLayout = new QVBoxLayout(); m_siderLayout = new QVBoxLayout();
m_siderLayout->setContentsMargins(0,0,0,0); m_siderLayout->setContentsMargins(0,0,0,0);