Community
    • Login

    Bug? Too small tab header font

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 2.0k Views 1 Watching
    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 KursaweP Offline
      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
      • gstaviG Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors