mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-12 03:23:12 +00:00
Fix #7311. And all my fun is gone...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37820 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d2873b4bc6
commit
76c588d532
Binary file not shown.
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 27 KiB |
@ -165,9 +165,8 @@ public:
|
|||||||
font.setStyleHint(QFont::SansSerif);
|
font.setStyleHint(QFont::SansSerif);
|
||||||
font.setWeight(QFont::Bold);
|
font.setWeight(QFont::Bold);
|
||||||
font.setPointSize(int(toqstr(lyxrc.font_sizes[FONT_SIZE_LARGE]).toDouble()));
|
font.setPointSize(int(toqstr(lyxrc.font_sizes[FONT_SIZE_LARGE]).toDouble()));
|
||||||
int width = QFontMetrics(font).width(text);
|
|
||||||
pain.setFont(font);
|
pain.setFont(font);
|
||||||
pain.drawText(397 - width, 15, text);
|
pain.drawText(190, 225, text);
|
||||||
setFocusPolicy(Qt::StrongFocus);
|
setFocusPolicy(Qt::StrongFocus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user