解决主界面显示问题BUG-1276;解决国产系统设置界面关于信息显示不全的问题;
This commit is contained in:
parent
d1edfd7ee4
commit
bdc738ea62
|
@ -15,7 +15,7 @@ Widget_StatusBar::Widget_StatusBar(QAction *zoomIn, QAction *zoomOut, QWidget *p
|
|||
|
||||
m_lbl_scale = new QLabel("0%", toolBar);
|
||||
m_lbl_scale->setFixedWidth(40);
|
||||
m_lbl_scale->setAlignment(Qt::AlignHCenter);
|
||||
m_lbl_scale->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
|
||||
|
||||
toolBar->addAction(zoomIn);
|
||||
toolBar->addWidget(m_lbl_scale);
|
||||
|
|
|
@ -2023,7 +2023,11 @@ void hg_settingdialog::slot_buttonAboutClicked()
|
|||
|
||||
QMessageBox msg(QMessageBox::NoIcon, title,
|
||||
content, QMessageBox::Ok, this);
|
||||
#ifdef HG_CMP_MSC
|
||||
msg.setStyleSheet("QLabel{""min-width: 280px;""}");
|
||||
#else
|
||||
msg.setStyleSheet("QLabel{""min-width: 300px;""}");
|
||||
#endif
|
||||
int code = lang_get_cur_code_page();
|
||||
if (code == 1258)
|
||||
msg.setStyleSheet("QLabel{""min-width: 320px;""}");
|
||||
|
|
Loading…
Reference in New Issue