[Gambas-devel] BUG: gb3 Frame appearance in IDE

Benoît Minisini gambas at ...1...
Sat Dec 12 12:35:40 CET 2009


> 2009/12/12 Benoît Minisini <gambas at ...1...>:
> >> 2009/12/12 Kadaitcha Man <nospam.nospam.nospam at ...176...>:
> >> > 2009/12/12 Kadaitcha Man <nospam.nospam.nospam at ...176...>:
> >> >> 2009/12/12 Benoît Minisini <gambas at ...1...>:
> >> >>>> In gb3, the frame control does not display in the same way that it
> >> >>>> displays on screen.
> >> >>>>
> >> >>>> Image attached.
> >> >>>
> >> >>> This is not a bug: the IDE uses gb.qt4 to display controls, and your
> >> >>> project uses another toolkit.
> >> >>
> >> >> Odd. I created a Qt application and have Qt4 installed. What
> >> >> conditions do I need to setup to get it to display correctly?
> >> >
> >> > I may have answered it myself. It looks like Qt4 is a separate
> >> > reference in project properties.
> >>
> >> Scratch that. I can't make it work by selecting the qt4 components and
> >> deselecting qt. I'd like to set it up correctly if you can offer any
> >> help.
> >
> > What happens exactly that prevent it from working?
> 
> I don't know. This is what I have done:
> 
> I created a Qt project first, then tried a "graphical application".
> 
> For the "graphical application":
> 
> I deselect gb.gui, select qb.qt4, gb.qt4.ext and gn.image.
> 
> I tried exiting and restarting gambas, but when I drag a frame, I
> still get the control showing bold text with no border.
> 

Apparently you are using Gnome, so the reason of that behaviour is what I 
explained above. The IDE uses gb.qt4, and when you run your program, as you 
checked gb.gui, the gb.gtk component is used. So you are seing two different 
toolkits.

Regards,

-- 
Benoît Minisini




More information about the Devel mailing list