Mini mode: Make font size of dropdown box configurable

Bug #135973 reported by Adam Olsen
2
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Mathias Brodala

Bug Description

Since a font size of 8px is hard to read (at least for me) I changed the size to 9px. This should not be done by hacking code but as configurable option instead.

This ticket was migrated from the old trac: re #265

Revision history for this message
Adam Olsen (arolsen) wrote :

Fonts follow the gtk theme.

Changed in exaile:
importance: Undecided → Wishlist
status: New → Invalid
Revision history for this message
Mathias Brodala (mathbr) wrote :

No, it does not here, since it has been specified:

[…]
        self.model = gtk.ListStore(str, object)
        self.title_box = gtk.ComboBox(self.model)
        cell = gtk.CellRendererText()
        cell.set_property('font-desc', pango.FontDescription('Normal 8'))
        cell.set_property('ellipsize', pango.ELLIPSIZE_END)

        self.title_box.pack_start(cell, True)

[…]

I always change the font-size to at least 9 to make it readable.

Changed in exaile:
status: Invalid → New
Mathias Brodala (mathbr)
Changed in exaile:
assignee: nobody → mathbr
Revision history for this message
Mathias Brodala (mathbr) wrote :

This patch adds a new option "font_size" and a new item to the plugin’s configuration dialog.

Known issue: Setting a different font size after the plugin has been initialized has no effect until you restart Exaile. Please let me know if someone has an idea how to solve this.

Revision history for this message
Adam Olsen (arolsen) wrote :

Committed in r1350

Changed in exaile:
status: New → Confirmed
status: Confirmed → Fix Committed
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.