Bug #1230
RichText view - standard font is too big (due to UHD feature)
Status: | Approved | Start date: | 08/09/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 0% | |
Category: | RichText | Spent time: | - | |
Target version: | Release 2015.2 |
History
#1 Updated by Zbigniew Rebacz over 9 years ago
OK, About.cpp with new values:
AboutDlg() {
Size isz = MakeLogo(*this, ctrl);
int cx = min(Zx(850), GetWorkArea().GetWidth()); // <- this
SetRect(0, 0, cx, isz.cy);
about.SetQTF(GetTopic("ide/app/About$en-us"), Zoom(Zy(105), 1024)); // <- this
about.SetZoom(Zoom(1, 1));
about.RightPos(0, cx - isz.cx).VSizePos();
about.HMargins(Zx(4));
about.SetFrame(NullFrame());
about.NoLazy();
Background(PaintRect(ColorDisplay(), SColorPaper()));
Add(about);
Title("About TheIDE");
}
#2 Updated by Zbigniew Rebacz over 9 years ago
For help it could be something like that:
zoom.d = 1000000 / Zy(800);
For About you can change also:
int cx = min(Zx(850), GetWorkArea().GetWidth());
to:
int cx = min(Zx(800), GetWorkArea().GetWidth());
but it is optional.
#3 Updated by Miroslav Fidler over 9 years ago
- Status changed from New to Approved