Title's font size bigger than the content's

This commit is contained in:
dreamsourcelabTAI 2024-01-08 16:01:17 +08:00
parent 35af96b622
commit a81f323d8b

View File

@ -239,7 +239,7 @@ void TitleBar::mouseDoubleClickEvent(QMouseEvent *event)
void TitleBar::update_font()
{
QFont font = this->font();
font.setPointSizeF(AppConfig::Instance().appOptions.fontSize);
font.setPointSizeF(AppConfig::Instance().appOptions.fontSize+1);
_title->setFont(font);
}