[win-linux] ceditorwindow: debug

This commit is contained in:
SimplestStudio
2023-12-20 10:32:56 +02:00
parent ea657469f3
commit 2ad2aee453

View File

@ -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) {