URL:
  <http://gna.org/bugs/?25023>

                 Summary: Qt client: Not all fonts are updated when changed in
the settings
                 Project: Freeciv
            Submitted by: louis94
            Submitted on: mar. 30 août 2016 00:00:33 UTC
                Category: client-qt
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.5, 2.6, trunk
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 
 Contains string changes: None

    _______________________________________________________

Details:

Not all widgets are updated when the font option changes (eg Demographics
Report). For some widgets, this is difficult to do because of how they are
laid out.

Some options don't even have an update callback, so the database (whether in
old fc_font or in new font_options_listener) isn't updated at all. I'll work
on a proper fix for this part once my font-related patches are committed.

Reminder to me:
- Add font_changed_callback where not present in options.c
- Remove apply_font() from gui_main.cpp
- Replace qtg_gui_update_font() by font_options_listener::set_font(), and
adapt the latter's signature





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?25023>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to