[Gambas-user] bug? in textbox.alignment in 1.9.51

Fabien Bodard gambas.fr at ...626...
Thu Sep 20 15:24:46 CEST 2007


On Thursday 20 September 2007 14:48:36 Stefano Palmeri wrote:
> Alle 14:35, giovedì 20 settembre 2007, Stefano Palmeri ha scritto:
> > Alle 14:14, giovedì 20 settembre 2007, Fabien Bodard ha scritto:
> > > On Thursday 20 September 2007 13:39:34 Stefano Palmeri wrote:
> > > > Hi, all. Hi, Benoit.
> > > >
> > > > Just downloaded 1.9.51. I opened an old project of mine with a lot of
> > > > textboxes. When I write something in the textbox and then press
> > > > Enter, the text goes upper and it moves to the center. But with
> > > > 1.9.51, .alignment = 68 doesn't work anymore? Did I miss something?
> > > > I've attached a little example to show the bug.
> > > >
> > > > Regards,
> > > >
> > > > Stefano Palmeri
> > >
> > > Replace the 68 by Align.AlignMode :
> > >
> > > Align.Left
> > > Align.Right
> >
> > I didn't have the bug in 1.9.50. I will try your solution.
> >
> > Thanks,
> >
> > Stefano
>
> OK. It works with ... = Align.Center. Does it mean that .alignment = 68
> will not work anymore or is it a current bug?
>
> Thanks,
>
> Stefano
Not a bug but an internal change... prefer the use of dynamic constant to 
static one

when gb.qt internal change, it will not affect your program..; gambas2 is not 
finished :)

Fabien




More information about the User mailing list