Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Bug? Too small tab header font

    General Discussion
    2
    2
    1558
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Patrick Kursawe
      Patrick Kursawe last edited by

      Hi there,

      I have currently three displays: The laptop monitor (Ultra Hi Res, scaling currently at 250%) and two normal screens (set to 100%) - the tab headers are on all screens so small that it’s almost impossible to read them. Any idea if this is a bug or which setting I need to change? Thanks!

      1 Reply Last reply Reply Quote 0
      • gstavi
        gstavi last edited by

        Already here:
        https://notepad-plus-plus.org/community/topic/12873/can-t-read-the-filenames-in-the-tabs

        I toyed with modification within TabBarPlus::init. The following helped but it requires some more work on resizing tab rectangles.

        Changing
        _hFont = (HFONT)::GetStockObject(DEFAULT_GUI_FONT);
        To
        NONCLIENTMETRICS ncmat;
        ncmat.cbSize = sizeof(ncmat);
        ::SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &ncmat, 0);
        _hFont = ::CreateFontIndirect(&ncmat.lfMenuFont);

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors