[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [TSVN] Toolbar question

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-02-03 09:31:09 CET

Hi Steve,

Thanks for your reply

> > I painted a new Toolbar for TortoiseMerge. Now I have two questions:
> >
> > 1) is there a rule that enforces the toolbar icons to have
> only 15 pixel
> > height or can it be 16 pixel?
>
> I _think_ it should work with 16 pixels too, but I'm not sure
> about that.
I created the icons with 16 pixel height, but now they are cut off at the
bottom. The refresh icon is 'stolen' from firefox and is 16x16. Somehow
Firefox doesn't cut anything off, so there must be a way. The only
difference in behaviour I noticed is that the icon is 'lifted' up a pixed in
Tmerge when hovering over it to create a drop shadow. Most other apps just
leave the icon as it is and draw a frame around it.

I found several hints that the default toolbar icon is 16x15, but I also
found a link (yesterday, can't find it anymore :-|) which function you need
to call to define your custom toolbar (icon) height.

> > 2) is there a rule that enforces 256 colours or can it be 64K?
>
> No rule. It's just that VS.NET automatically converts the
> toolbar back
> to 256 colors as soon as you edit it. So if you use 64K colors, we
> always have to edit the toolbar _outside_ VS.NET.
I always edit _outside_ vs.net ;-) The built-in editor is crap.
Maybe I have to modify the palette a bit so that everything looks nice in
256 colours.

Cheers
-Lübbe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Feb 3 09:32:04 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.