Size of icons under Vim

937 views
Skip to first unread message

epanda

unread,
Nov 25, 2009, 3:47:20 AM11/25/09
to vim_use
Hi,

I would like to know if we can use icon that have more than 20x20
pixels of (widthxheight).

Or if I can augment the size of icon's menu ?

Thanks

Tony Mechelynck

unread,
Nov 25, 2009, 4:36:59 AM11/25/09
to vim...@googlegroups.com, epanda

See ":help toolbar-icon" about installing nonstandard icons, and in
particular this:

> For MS-Windows and GTK+ 2 the bitmap is scaled to fit the button. For
> MS-Windows a size of 18 by 18 pixels works best.
> For MS-Windows the bitmap should have 16 colors with the standard palette.
> The light grey pixels will be changed to the Window frame color and the
> dark grey pixels to the window shadow color. More colors might also work,
> depending on your system.

So yes, you may construct larger images, but when you apply them to your
toolbar menus, they will be scaled, at least for Windows and GTK. It
isn't clear to me what will happen if you invoke nonstandard-size icons
in Athena, Motif and Photon.

However, see also ":help 'toolbariconsize'" which says how you can have
them scaled to a different size (but only in gvim with GTK2 GUI).


Best regards,
Tony.
--
we will invent new lullabies, new songs, new acts of love,
we will cry over things we used to laugh &
our new wisdom will bring tears to eyes of gentile
creatures from other planets who were afraid of us till then &
in the end a summer with wild winds &
new friends will be.

epanda

unread,
Nov 25, 2009, 3:06:22 PM11/25/09
to vim_use

On 25 nov, 10:36, Tony Mechelynck <antoine.mechely...@gmail.com>
wrote:
> On 25/11/09 09:47, epanda wrote:
>
>

>
> So yes, you may construct larger images, but when you apply them to your
> toolbar menus, they will be scaled, at least for Windows and GTK. It
> isn't clear to me what will happen if you invoke nonstandard-size icons
> in Athena, Motif and Photon.
>
> However, see also ":help 'toolbariconsize'" which says how you can have
> them scaled to a different size (but only in gvim with GTK2 GUI).
>

Hum I have seen the help about toolbariconsize and I sum up that it is
not possible to have larger icons on Windows , only on Gnome system.
Can you confirm ?
Thanks

Tony Mechelynck

unread,
Nov 25, 2009, 7:35:32 PM11/25/09
to vim...@googlegroups.com, epanda

I'm not on Windows, but that's how I read the help, yes.


Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
205. You're constantly yelling at your spouse, family, roommate, whatever,
for using the phone for stupid things...like talking.

Reply all
Reply to author
Forward
0 new messages