Skip to content

Commit

Permalink
fix: 修复了内容区没有居中于弹窗的问题
Browse files Browse the repository at this point in the history
修复了无线网络、有线网络(添加网络配置)、DSL(创建PPPoE连接)、VPN(添加VPN)一共四个页面的内容区没有居中于弹窗的问题。

Issue: linuxdeepin#141

Log: 修复了内容区没有居中于弹窗的问题
  • Loading branch information
skdsfy authored and heyuming committed Jun 2, 2023
1 parent 49f1b3b commit 243b702
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dcc-network-plugin/window/editpage/connectioneditpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ void ConnectionEditPage::initUI()
QScrollArea * area = new QScrollArea;
area->setFrameShape(QFrame::NoFrame);
area->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
area->setAlignment(Qt::AlignHCenter);
area->setWidgetResizable(true);
QWidget *w = new QWidget();
w->setLayout(m_settingsLayout);
Expand Down

0 comments on commit 243b702

Please sign in to comment.