2012/8/29 Fabien Bodard <gambas...@gmail.com>:
> HARRRRRRRRRGGHHHHHHHHHH !!!
>
>
> WHAT ?
>
>
> The dataview need to be in a datasource to wor ... but a data source
> is a container .
>
> THis container Have a arrangement property...
>
> The arrangement autoresize his content ... it's like in html.
>
> SO for you ...
>
> In your form you put a datasource and in it a dataview then on the
> bottom in the form you put for example a button.
>
>
> set the form arrangement at vertical, the expand property of the
> datasource at true, and the arrangement of the datasource at fill
> set spacing of form at true and padding at true.
>
> or you can define margin in pixel.
>
> taddda...
>
>
> THis is oe of the power of gambas ... normally you will never (or just
> in rare case )  have to use the _resize event.
>
> Just play to try with containers (vbox,hbox,panel, vpanel,hpanel) and
> properties (ignore, expand, arrangement, margin, padding, spacing),
> put in it  diffrent object or objects with different colors to
> understand how it work... it is really powerfull ... all the ide is
> based on it... and all the graphic components too .
>
>
>
>
>
>
> --
> Fabien Bodard



-- 
Fabien Bodard

Attachment: demoarrangement-0.0.1.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to