Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#269 closed enhancement (released)

Handle multiple stat lines

Reported by: ibboard Owned by: ibboard
Priority: major Milestone: WarFoundry 0.1
Component: WarFoundry-GUI-WinForms Version: Trunk
Keywords: stats multiple Cc:
Blocked By: #268 Blocking:

Description

Once the API supports multiple stat lines we need to show multiple stat lines in the WinForms UI.

Change History (8)

comment:1 Changed 10 years ago by ibboard

Status: newconfirmed

Confirm new tickets

comment:2 Changed 10 years ago by ibboard

(In r553) Re #269: Handle multiple stat lines

  • Add initial rebuild with multiple possible statlines - only tested with one stat line type

comment:3 Changed 10 years ago by ibboard

(In r554) Re #269: Handle multiple stat lines

  • Start to rebuild UI using DataGridView, as we can get the header height from that and it replaces the original DataGrid

comment:4 Changed 9 years ago by ibboard

Owner: set to ibboard
Status: confirmedaccepted

comment:5 Changed 9 years ago by ibboard

(In r570) Re #269: Handle multiple stat lines

  • Improve rendering of stats
  • Fix column widths
  • Set width and height based on content

Also:

  • Make FrmUnit title contain unit type as we're using it more now

Still needs more testing and fixing

comment:6 Changed 9 years ago by ibboard

(In r571) Re #269: Handle multiple stat lines

  • Add debug logging to work out what was going on
  • Migrate to using a FlowLayoutPanel

Previous problem fixed - test data file had stats override, which stopped multiple stat lines showing

TODO: Reduce the width of the stats a bit so that we only get vertical scrollbars

comment:7 Changed 9 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

(In r572) Fixes #269: Handle multiple stat lines

  • Reduce the width of the tables to only show a vertical scrollbar
  • Make the width of the columns more proportional to how many there are

comment:8 Changed 9 years ago by ibboard

Resolution: fixedreleased

Release as part of v0.1b9

Note: See TracTickets for help on using tickets.