Well i saw how Gambas IDE implements the toolbar and i found out that it
uses HBoxes and not Toolbars.

So i put side by side an HBox and a Toolbar to demonstrate a bug in
Toolbar draw on the form

Toolbar cuts in half the Toolbuttons.

See screenshots. 
There is a screenshot in design mode and another in running mode.

The red background is the Toolbar, the green is the Hbox.

Hbox works but not Toolbar.



On Fri, 2011-10-14 at 16:51 +0200, Fabien Bodard wrote: 
> I think he not use a 'toolbar' but an hbox.
> And the hbox force the buttons height, so the picture are cut.
> 
> try to set more height to the hbox or the toolbar
> 
> 
> 
> Le 14 octobre 2011 16:42, Benoît Minisini
> <gam...@users.sourceforge.net> a écrit :
> >> Hi, i add some toolbuttons on a Toolbar.
> >> Each button has an image but at runtime it does not appear correct.
> >>
> >> See png
> >>
> >> How to correct this?
> >
> > At the moment, toolbar height depends on the value of the toolbar internal
> > size that you can change only with the toolbar pop-up menu.
> >
> > The size can be "small", "medium" or "large".
> >
> > The toolbar button icon size follows this setting by changing the icon size
> > specified in an "icon:/<size>/name" picture patch, or by stretching the icon
> > otherwise.
> >
> > Regards,
> >
> > --
> > Benoît Minisini
> >
> > ------------------------------------------------------------------------------
> > All the data continuously generated in your IT infrastructure contains a
> > definitive record of customers, application performance, security
> > threats, fraudulent activity and more. Splunk takes this data and makes
> > sense of it. Business sense. IT sense. Common sense.
> > http://p.sf.net/sfu/splunk-d2d-oct
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> 
> 

<<attachment: image_146.png>>

<<attachment: image_147.png>>

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to