[Gambas-user] Three questions about handling
Eilert
eilert-sprachen at ...221...
Wed Apr 20 08:30:41 CEST 2005
Bonjour Benoit,
> HPanel automatically arrange its children horizontally.
> VPanel '''''''''''''''''''''''''''''''''' vertically.
> HBox arrange them from left to right, and then from top to bottom.
> VBox arrange them from top to bottom, and then from left to right.
Alright, I'll experiment with them a bit to find out what they can
actually do here.
>
> Another way of automatically arranging controls is using the 'Arrange'
> property of the Panel and Form controls.
Oh, didn't notice that Forms have an Arrange property.
>
> Moreover, each control has a 'Expand' property that tells it to fill its
> parent control in the direction of its arrangement.
Ok, that might be what I'm looking for. A long time ago I saw that in Qt
you can insert kinda rubber bands to force the elements in the form to
follow the form's changing sizes. But I think this isn't implemented in
Gambas, is it?
>
>
>>In the extended collection there are sliders, but you cannot drag them
>>to whatever position but they "jump" really to fixed positions. Can I
>>change that somehow?
>
>
> What are you talking about ?
:-) That was a bit unclear...
I meant HSplit and VSplit. They do not follow the mouse pixel by pixel
but jump to their position after you dragged them over a certain
distance. What I wanted to know is whether it is possible to influence
the width of the jumps or just reducing it to 1 pixel so it follows the
mouse fluently.
Best regards,
Rolf
More information about the User
mailing list