[Gambas-user] Toolbar issues

Benoît Minisini gambas at ...1...
Sun Mar 25 22:12:32 CEST 2012


Le 28/02/2012 18:13, Demosthenes Koptsis a écrit :
> On 02/28/2012 12:56 PM, Benoît Minisini wrote:
>> Le 28/02/2012 11:52, Demosthenes Koptsis a écrit :
>>> should i set any other property to work?
>>>
>>> Because
>>>
>>> tlbrMain.Height = Desktop.Scale * 7
>>>
>>> does not work.
>>>
>>> See attached project i changed it.
>>>
>>> Thanks!
>>>
>> No, you have no control on the toolbar height. This won't change.
>>
>> But I was wrong in the previous mail. You can use any icon inside a
>> toolbar button, it will be stretched automatically, provided that you
>> use only ToolButton or MenuButton in the toolbar.
>>
>> Regards,
>>
>
> i made more tests with Toolbar and Toolbuttons and i think there are
> some issues.
>
> 1) the icons on toolbuttons on a toolbar do not auto-stretched.
> i had to set a very small size 15x15 pixels to be able to be shown.
> i tried this with Autoresize property to True and False both on
> Toolbar+Toolbuttons and there is no difference.
>
> can anyone confirm this? I attache the project with the issue.

Is it better with the last revision #4570?

>
> 2) The menu from Toolbar with right click do not follow gnome2 theme
> values and i get this weird screen shot
>

There is a problem between Gambas GTK+ menus and Ubuntu GTK+ theme, I 
don't know why yet...

-- 
Benoît Minisini




More information about the User mailing list