mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win-nix] debug project for hdpi monitors
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 200 B |
Binary file not shown.
|
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 200 B |
@ -75,6 +75,10 @@ QPushButton#toolButtonDownload::menu-indicator {
|
||||
left: -8px;
|
||||
}
|
||||
|
||||
QTabBar {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
padding-left: 14px;
|
||||
}
|
||||
@ -193,6 +197,10 @@ QPushButton {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
QLabel[class=msg-report] {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
QDialog QPushButton {
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
@ -113,6 +113,7 @@ CMessage::CMessage(QWidget * p)
|
||||
_h_layout2->addWidget(m_typeIcon, 0, Qt::AlignTop);
|
||||
|
||||
// m_message->setWordWrap(true);
|
||||
m_message->setProperty("class", "msg-report");
|
||||
m_message->setStyleSheet(QString("margin-bottom: %1px;").arg(8*g_dpi_ratio));
|
||||
|
||||
QFormLayout * _f_layout = new QFormLayout;
|
||||
|
||||
@ -320,10 +320,10 @@ void CTabBar::drawTabCaption(QPainter * p, const QString& s, const QStyleOptionT
|
||||
QRect trect(QPoint(t.rect.left() + t.iconSize.width() + 6, t.rect.top()),
|
||||
QPoint(t.rect.right() - 22, t.rect.bottom() - 2));
|
||||
|
||||
QFont f = font();
|
||||
f.setPointSize(8);
|
||||
// QFont f = font();
|
||||
// f.setPointSize(8);
|
||||
|
||||
p->setFont(f);
|
||||
// p->setFont(f);
|
||||
|
||||
QString es = fontMetrics().elidedText(s, Qt::ElideRight, trect.width(), Qt::TextShowMnemonic);
|
||||
p->drawText(trect, Qt::AlignVCenter, es);
|
||||
|
||||
@ -33,8 +33,8 @@
|
||||
#ifndef VERSION_H
|
||||
#define VERSION_H
|
||||
|
||||
#define VER_FILEVERSION 4,4,2,350
|
||||
#define VER_FILEVERSION_STR "4.4.2.350\0"
|
||||
#define VER_FILEVERSION 4,4,2,352
|
||||
#define VER_FILEVERSION_STR "4.4.2.352\0"
|
||||
|
||||
#define VER_PRODUCTVERSION VER_FILEVERSION
|
||||
#define VER_PRODUCTVERSION_STR "4.4\0"
|
||||
|
||||
Reference in New Issue
Block a user