#151 titlebar and toolbar too thick on rh8.0


I just installed blackbox 0.65 on a new RH8.0 build.
The titlebar and toolbar are very thick. Is there
anyway to change it back to be thin?


  • Nobody/Anonymous

    Logged In: NO

    Yes... use a smaller font. In the absence of any further
    description of your problem, all that anyone is going to be
    able to decide is that you're using too big of a font for
    the elements.

    After all, they expand as the font does.

  • Sean 'Shaleh' Perry

    Logged In: YES

    Here is the code for the window titlebar. It has not changed much since
    the gui remake from 0.5x to 0.6x. Current cvs has updated the code a bit
    but the actual function has not changed.

    if (decorations & Decor_Titlebar) {
    // the height of the titlebar is based upon the height of the font being
    // used to display the window's title
    WindowStyle *style = screen->getWindowStyle();
    if (i18n.multibyte())
    frame.title_h = (style->fontset_extents->max_ink_extent.height +
    (frame.bevel_w * 2) + 2);
    frame.title_h = (style->font->ascent + style->font->descent +
    (frame.bevel_w * 2) + 2);

    frame.label_h = frame.title_h - (frame.bevel_w * 2);
    frame.button_w = (frame.label_h - 2);

    // set the top frame margin
    frame.margin.top = frame.border_w + frame.title_h +
    frame.border_w + frame.mwm_border_w;

    As you can see it is 100% dependent on the size of the font you have
    installed. The toolbar code is similar. Most likely RH is using 100dpi fonts
    and you are used to 75.

    I have marked the bug invalid and will close it unless further information is

  • Sean 'Shaleh' Perry

    • status: open --> open-invalid
  • Bradley T. Hughes

    • status: open-invalid --> closed-invalid
  • Bradley T. Hughes

    • assigned_to: nobody --> bradleyhughes

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks