Ticket #1937 (closed defect: invalid)

Opened 7 weeks ago

Last modified 2 weeks ago

Any percentual size larger than 100% should be displayed as 100%.

Reported by: Joonas Lehtinen Owned by: Marko Gronroos
Priority: blocker Milestone: User Interface Library 5.3.0 RC
Component: Server-side framework Version: 5.2.5
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract:

Description

Using >100% sizes is not logical and thus not supported . It also leads to strange bugs like #1934. To avoid these bugs, all layouts should limit any % size larger than 100% to 100%.

Note that problem can not be implemented by throwing exceptions, because it would force allways to set units before value.

Change History

Changed 3 weeks ago by Matti Tahvonen

  • status changed from new to closed
  • resolution set to invalid

I disagree on this one. It is not sane to use > 100% inside layouts, but inside panel or window usage of "300%" might well be valid case (programmer is expecting scrollbars to appear).

Changed 2 weeks ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5 stable branch backlog to User Interface Library 5.3.0 RC
Note: See TracTickets for help on using tickets.