[Gambas-user] Cannot change hierarchy of controls in Panel unless Arrangement=None/Fill

Benoît Minisini benoit.minisini at gambas-basic.org
Thu Jan 18 00:32:49 CET 2024


Le 17/01/2024 à 16:57, T Lee Davidson a écrit :
> With a Panel having its Arrangement set to Horizontal (or Vertical, Row, 
> or Column), changing the hierarchy of its children does not "stick" upon 
> Save or Compile. If I set the Panel's Arrangement to None or Fill, the 
> hierarchy changes persist as they should. But, if I then change the 
> Arrangement back to Horizontal, the hierarchy reverts to what it was 
> originally.
> 
> This may be intended behavior, but I think it is a bug. Should I report 
> it on the Bug Tracker?
> 
> 

It's feature. It always worked like that. As soon as a container 
arranges its children, the IDE sort them according to their position so 
that the arrangement follows the visual order.

For example, if a Panel arrangement is set to 'Horizontal', children are 
sorted by their X property.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list