Rank: Newbie Groups: Member
Joined: 8/8/2007 Posts: 2
|
I'm loading runtime dependant images into TabStrip TabItem members. The problem I'm having is that the images have different widths. Is there a way of having the Width set by the width of the loaded image?
Thanks,
Barry
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Barry,
It automatically does that if you use ImageOnly item. To use image only item, do these:
1. Set the tab item's Image.Url property to the image; 2. Set the tab item's Image.Mode to ImageOnly; 3. Make sure you clear the TabItem's Width property;
This should make the TabStrip to automatically adjust the width to fit your images.
Thanks
|