#40 defective positioning of list elements produces clipping UI

open
nobody
None
5
2009-12-20
2009-12-20
NJ
No

Defective positioning of list elements produces clipping in UI.
See screen shot.

Discussion

  •  NJ
    NJ
    2009-12-20

     
  • Dave Kaye
    Dave Kaye
    2009-12-29

    The code for RipperX was changed in version 2.7.1 to call the GTK2 library where previously it called the GTK library. These libraries handle the creation of windows, buttons, etc. for the program. The bug is an artifact of that conversion. GTK2 responds to overall desktop selections of window styles, themes, decorations and fonts. The code was written for a fixed height for the radio button labels per GTK, but GTK2 uses your selection of font type and size from the desktop. Your labels are larger than the space allocated. The fix is very simple.

    In the src subdirectory locate the file config_window_handler.c and remove the following two lines:

    line 481: gtk_widget_set_size_request( bitrate[ 0 ].button, 0, 16 );

    line 491: gtk_widget_set_size_request( bitrate[ i ].button, 0, 16 );

    Then recompile the code per normal INSTALL instructions.

    This will remove the 16 pixel height request for the button label and allow the label to be resized/rendered according to the font selection.