mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win-linux] ceditorwindow: debug
This commit is contained in:
@ -747,6 +747,7 @@ public:
|
||||
|
||||
iconcrypted->setPixmap(QIcon{":/title/icons/secure.svg"}.pixmap(QSize(20,20) * window->m_dpiRatio));
|
||||
iconcrypted->setFixedSize(ICON_SIZE * window->m_dpiRatio);
|
||||
iconcrypted->show();
|
||||
int y = (window->m_labelTitle->height() - ICON_SIZE.height() * window->m_dpiRatio)/2;
|
||||
iconcrypted->move(0, y);
|
||||
connect(window->m_labelTitle, &CElipsisLabel::onResize, this, [=](QSize size, int textWidth) {
|
||||
|
||||
Reference in New Issue
Block a user