Button Image Background

Topics related to the Krypton Navigator.

Moderators: Phil Wright, Chris Porter

Button Image Background

Postby wilko » Wed Apr 07, 2010 9:50 pm

I've used a HeaderBar - CheckButton - Group configuration for my navigation and it looks great, but i'm struggling to find the image transparency property. I am aware that using check buttons usually allows you to add an image to the button itself and then set the transparency colour so that background colour of the image added is not shown. I just can't find this property for the HeaderBar - CheckButton - Group config. Is there one?

Thanks
wilko
 
Posts: 3
Joined: Wed Apr 07, 2010 9:44 pm

Re: Button Image Background

Postby Phil Wright » Thu Apr 08, 2010 8:40 am

The appearance propeties for the check button are...

KryptonNavigator.StateComon.CheckButtons.Back...
KryptonNavigator.StateComon.CheckButtons.Border...
KryptonNavigator.StateComon.CheckButtons.Content...

...I recommend you work with those for altering the way that all the different check buttons are displayed.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia

Re: Button Image Background

Postby wilko » Thu Apr 08, 2010 6:32 pm

Thanks for the reply, but unfortunately it doesn't answer my question. I found these properties days ago but am still unable to make the icon's background transparent.

A normal button is easy enough, with the transparency colour option available, bit this doesn't seem to be present amongst the navigator check button's options.

I want to leave the button the colour it is and add an icon to it - which i did. The icon has a white background, which i don't want to show. How do i get rid of the white?

Is it actually possible?

Thanks
wilko
 
Posts: 3
Joined: Wed Apr 07, 2010 9:44 pm

Re: Button Image Background

Postby Phil Wright » Thu Apr 08, 2010 7:27 pm

I thought an icon specified the background color that should be transparent as part of the icon itself?
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia

Re: Button Image Background

Postby wilko » Sat Apr 10, 2010 12:34 am

Aha...i was using a bmp. Icon files work fine. Thanks! :wink:
wilko
 
Posts: 3
Joined: Wed Apr 07, 2010 9:44 pm


Return to Krypton Navigator

Who is online

Users browsing this forum: No registered users and 1 guest