Welcome Guest Search | Active Topics | Sign In | Register

Dynamic Widths and Height for TabStrip Items Options
barry
Posted: Wednesday, August 8, 2007 5:12:11 AM
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
eo_support
Posted: Wednesday, August 8, 2007 8:04:16 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.