Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002663 [tweak] Any minor always 02-03-06 12:00 02-03-06 14:20
Reporter bernd View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0002663: shrinkWrap does not wrap
Description using shrinkWrap option resizes the player to the size of the hull of its children, but the player isn't in the expected position. It's correct when a tableLayout is added, but that is not needed everytime.
the player should change its position/extent/borders to include the embedded player graphically too.
| a |
a := CRectanglePlayer open.
a hResizing: #shrinkWrap; vResizing: #shrinkWrap.
a add: (CRoundRectPlayer new topLeft: 10@10;yourself).
a add: (CRoundRectPlayer new topLeft: 60@60;yourself).

Only with a player with topleft at: 0@0 it looks correct(no players with negative topleft values!).

May be the pivot/position change break this or has it never act in the way I expect it.
Additional Information
Attached Files

- Relationships

- Notes
(0003694 - 145 - 145 - 145 - 145 - 145 - 145)
02-03-06 14:20

If no layout is set the current behaviour may be okay. But when a CSimpleLayout is used as the player layout, it should wrap around its children.

- Issue History
Date Modified Username Field Change
02-03-06 12:00 bernd New Issue
02-03-06 14:20 bernd Note Added: 0003694

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
31 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker