Ticket #112 (new task)

Opened 6 years ago

Last modified 20 months ago

GUI - Expansive Controls

Reported by: stuart Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords:
Cc:

Description

  • Problems: Sometimes we want a control that contains a caption to expand so that the sprite increases in size to fit the text. A good example are the resource counters; the counter should increase in length to accommodate an increasing number of digits, and be of minimum length when the player has only a few resources. This also ties in with Relational Coordinates (since the counter on either side should also keep a fixed distance away from the control as it expands).
  • Solution: Currently we handle this example in script, but it requires a lot of processing that could be handled more efficiently in the engine. I suggest an extra flag in captioned controls that indicates how the text is wrapped (the control extends in length, the text wraps down to the next line, or it allows the text to pop out of its box).

Change History

comment:1 Changed 6 years ago by stuart

  • Owner set to gustav
  • Summary changed from Expansive Controls to GUI - Expansive Controls

comment:2 Changed 3 years ago by feneur

  • Owner Gee deleted

comment:3 Changed 20 months ago by anonymous

  • Milestone Environment Demo deleted

Milestone Environment Demo deleted

comment:4 Changed 20 months ago by wacko

  • Milestone set to Backlog
Note: See TracTickets for help on using tickets.