Ticket #659 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

Inherit max_size properties for children of VBox and HBox widgets

Reported by: ChrisOelmueller Owned by: FIFE
Priority: normal Milestone: 0.3.5
Component: engine/extensions/pychan Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Time planned:
Time remaining: Time spent:

Description

  • add a Label(wrap_text=True) to a VBox with a defined max_size
  • => it is not wrapping anything unless you add the same max_size to the Label itself

If I set Label(max_size=(150,42178), wrap_text=True), everything is fine for VBoxes (and similarly (42178,40) for HBoxes) but in my opinion, a widget should check for the max_size of parent widgets since this size will be the limit anyways

Change History

comment:1 Changed 3 years ago by prock

  • Milestone changed from Proposal to 0.3.4

comment:2 Changed 2 years ago by prock

  • Milestone changed from 0.3.4 to 0.3.5

Moving to 0.3.5 as we are preparing to release 0.3.4

Note: See TracTickets for help on using tickets.