Bug #1230

RichText view - standard font is too big (due to UHD feature)

Added by Zbigniew Rebacz about 5 years ago. Updated about 5 years ago.

Status:ApprovedStart date:08/09/2015
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:RichTextSpent time:-
Target version:Release 2015.2

StandardHelpWindow.png (210 KB) Zbigniew Rebacz, 08/09/2015 04:31 PM

History

#1 Updated by Zbigniew Rebacz about 5 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 about 5 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 about 5 years ago

  • Status changed from New to Approved

Also available in: Atom PDF