Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-04 Thread Fabián Flores Vadell
2010/9/3 Benoît Minisini : > Some explanations, because it seems that things are not clear for you: > > There is no difference in what you can do with the GUI editor and what you can > do directly by code. The Gambas compiler just transform the GUI description > into normal Gambas code. > > So when

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-03 Thread Benoît Minisini
> > I tested this only for control Label: > > > > When a control label is created in execution time using gb.qt, then > > > > control become visible just after assign a value at the Text property: > > PUBLIC SUB _New() > > > > DIM lbl1 AS NEW Label(ME) > > > > lbl1.Text = "Hi pe

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-03 Thread Fabián Flores Vadell
2010/9/3 Doriano Blengino : > Perhaps you don't see the whole thing, which goes much deeper than the > surface. > Creating a label in Gambas+GTK means creating a gambas object which > refers to a GTK object which refers to a GDK object which refers to a > Xwindow object. > Starting from XWindow and

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread Doriano Blengino
Fabián Flores Vadell ha scritto: > 2010/9/2 Doriano Blengino : > >> I agree - consistency; but the center question is the AutoResize >> property. If it is true by default, then the widget should show as soon >> as its text property is set to something "visible". If it is false, then >> the widge

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread Fabián Flores Vadell
2010/9/2 richard terry : > Please don't introduce the nightmare of autoresize = true!! Arguments, please. -- Fabián Flores Vadell www.speedbooksargentina.blogspot.com -- This SF.net Dev2Dev email is sponsored by

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread richard terry
On Friday 03 September 2010 07:43:34 Fabián Flores Vadell wrote: My 2c worth: Please don't introduce the nightmare of autoresize = true!! Regards Richard > 2010/9/2 Doriano Blengino : > > I agree - consistency; but the center question is the AutoResize > > property. If it is true by de

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread Fabián Flores Vadell
2010/9/2 Doriano Blengino : > I agree - consistency; but the center question is the AutoResize > property. If it is true by default, then the widget should show as soon > as its text property is set to something "visible". If it is false, then > the widget should not resize and, doing so, it should

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-02 Thread Doriano Blengino
Fabián Flores Vadell ha scritto: > 2010/9/1 Benoît Minisini : > >> I'm inclined to prefer the gb.gtk behaviour than the gb.qt one, aren't you? >> > > Uhm... when a label is drawed on a form by double clicking on its icon > in the toolbox, the label appears on X=0 Y=0, its Text property is s

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-01 Thread Fabián Flores Vadell
2010/9/1 Benoît Minisini : > I'm inclined to prefer the gb.gtk behaviour than the gb.qt one, aren't you? Uhm... when a label is drawed on a form by double clicking on its icon in the toolbox, the label appears on X=0 Y=0, its Text property is set to "LabelX" and its Width adjusts to Text property.

Re: [Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-01 Thread Benoît Minisini
> I tested this only for control Label: > > When a control label is created in execution time using gb.qt, then > control become visible just after assign a value at the Text property: > > PUBLIC SUB _New() > > DIM lbl1 AS NEW Label(ME) > > lbl1.Text = "Hi people" > > END > > But

[Gambas-user] Inconsistent initialization in controls: seems a little bug

2010-09-01 Thread Fabián Flores Vadell
I tested this only for control Label: When a control label is created in execution time using gb.qt, then control become visible just after assign a value at the Text property: PUBLIC SUB _New() DIM lbl1 AS NEW Label(ME) lbl1.Text = "Hi people" END But if you write the same code i