[Gambas-user] Three questions about handling

Benoit Minisini gambas at ...1...
Wed Apr 20 10:45:40 CEST 2005


On Wednesday 20 April 2005 08:30, Eilert wrote:
> 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.
>

This behaviour is a QT stuff. It depends on the controls inside the splitters.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list