Tabs Studio Blog (organizing Visual Studio document tabs)

September 15, 2009

Color Icons add-in

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 9:38 am

I use less distractive “gray theme” icons in Tabs Studio context menu. Now that context menu is completely customizable, I’ve created an alternative color icons pack:

Custom icons in tab context menu

Custom icons in tab context menu


Color Icons add-in monitors two tab context menu events and replaces default icons in context menu with icons from its own resources. Color Icons’ icons are stored in Icons folder with Build Action set to Resource in file properties. Each image has resolution 96 dpi and size 16*16 pixels.

You can also replace default close tab button image with the one from ColorIcons.dll using following style:

<Style TargetType="TabsStudio:CloseTabButton" BasedOn="{StaticResource DefaultCloseTabButtonStyle}">
    <Setter Property="Source" Value="pack://application:,,,/ColorIcons;component/icons/close_tab.png"/>
</Style>

Custom close tab button image

Custom close tab button image


You can also use file path (or even website URL) to describe where the custom image is located:

<Style TargetType="TabsStudio:CloseTabButton" BasedOn="{StaticResource DefaultCloseTabButtonStyle}">
    <Setter Property="Source" Value="file://c:/close.png"/>
</Style>

Download Color Icons v1.0.0 for Tabs Studio v1.6.2.

4 Comments

  1. My context menu is nearly this well spaced, everything is quite squashed by comparison.

    I can let you have a screen shot if you want it.

    Comment by Stuart Hemming — September 15, 2009 @ 1:44 pm

  2. s/My context menu is nearly/My context menu is NOT nearly/

    Comment by Stuart Hemming — September 15, 2009 @ 1:45 pm

    • Stuart,
      I take my screenshots on Vista. On XP context menu items are squashed…

      Comment by Sergey Vlasov — September 15, 2009 @ 7:26 pm

      • OIC

        🙂


        Stuart

        Comment by Stuart Hemming — September 15, 2009 @ 7:52 pm


RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Blog at WordPress.com.