Menu

#29 Menu text cut off if fixed-width SNFT font used in system theme

0.6.6
pending
Frank
None
3
2020-04-02
2020-01-19
Milkii
No

https://i.imgur.com/XmBjMnr.png

Using an SNFT (OTF-wrapped-bitmap) version of GohuFont - https://github.com/mxmilkb/gohu-ttf

Discussion

  • Frank

    Frank - 2020-01-26
    • status: unread --> pending
    • assigned_to: Frank
    • Priority: 5 --> 3
     
  • Frank

    Frank - 2020-01-26

    This is expected, at least in "compact style" the boxes are fixed size:
    main.h:

    #define COMPACT_STYLE "QLabel { font: 7pt; } \
        QComboBox { font: 7pt; max-height: 15px;} \
        QToolButton { font: 8pt; max-height: 15px;} \
        QSpinBox { font: 7pt; max-height: 20px;} \
        QCheckBox { font: 7pt; max-height: 20px;} \
        QGroupBox { font: 7pt; }"
    

    Although I agree that this isn't the best strategy, it ensures a small appearence of the windows. Maybe there's a better way that I'm not aware of.
    You could either adapt this style to your needs (remove the max-height settings there) or uncheck the compact style setting in the settings dialog.

     
  • Milkii

    Milkii - 2020-04-02

    Thanks for the tip, maybe some day. This was using the LV2 plugin so no settings dialog.

     

Log in to post a comment.