[Freeciv-tickets] [freeciv] #44891: sdl2: Very small unit icons in citydlg

Back to archive index
OSDN Ticket System norep****@osdn*****
Tue Jun 28 01:59:18 JST 2022


#44891: sdl2: Very small unit icons in citydlg

  Open Date: 2022-06-21 12:36
Last Update: 2022-06-27 19:59

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44891
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44891

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-06-27 19:59 Updated by: cazfi
 * Owner Update from (None) to cazfi
 * Resolution Update from None to Accepted

Comment:

Also S2_6 patch, that handles also sdl-client, attached

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.3
     Component: SDL2-client
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

Sdl2-client scales unit icons too much to citydlg. They don't nearly fill the space reserved for them.
While get_smaller_surface_rect() has problems, the main culprit here seems to be the fact that create_unit_surface() ignores the height returned by it completely. It does that for the purpose of keeping the space reserved for upkeep icons, but it does that even when no upkeep icons are to be shown.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44891
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44891



More information about the Freeciv-tickets mailing list
Back to archive index