URL:
  <http://gna.org/patch/?1701>

                 Summary: Reduce the minimum width of the city report
dialogue
                 Project: Freeciv
            Submitted by: jon_severinsson
            Submitted on: fredag 2010-06-11 den 14:58
                Category: client-gtk-2.0
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

This is an additional patch in my series intended to improve the gtk gui on
netbook sized displays.

The city report dialogue is fine when first opened, but once a city producing
anything is selected, a "Total Buy Cost: %d" label will make it way to wide,
and thus force scrolling. This patch will case this label to be ellipsized
(eg "...Cost: %d") if it won't fit without forcing scrolling.

Fixing this required the use of gtk_label_set_ellipsize(), which was
introduced in Gtk+ 2.6. As such this patch will also increase the minimum
Gtk+ version from 2.4 to 2.6, but as 2.6 was released over six (6) years ago,
I don't think this is a problem.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: fredag 2010-06-11 den 14:58  Name:
freeciv-2.2.1-reduce-city-report-minimum-width.patch  Size: 3 kB   By:
jon_severinsson

<http://gna.org/patch/download.php?file_id=9296>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1701>

_______________________________________________
  Meddelandet skickades via/av Gna!
  http://gna.org/


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

Reply via email to