Haw to eliminate empty space for collapsed items in radbrowserpanel in Radtabbedwindow

0 Answers 74 Views
TabbedWindow
Julia
Top achievements
Rank 1
Julia asked on 15 Jul 2021, 11:59 AM

Hi,

I use RadTabbedWindow and some items should be hidden in some cases. But if I set visibility Collapsed for such items empty space in tabs panel is exists anyway (See attached pic). How I can avoid it?

Is it possible not to set ItemWidth and ItemMinWidth or set auto width for them to get something like in usual tabcontrol where items width changes with its content?

Best regards,

Julia

 

 

Dilyan Traykov
Telerik team
commented on 20 Jul 2021, 08:33 AM

Hello Julia,
Due to the way the RadBrowserPanel is implemented, the ItemWidth and ItemMinWidth properties need to be configured.
What I can suggest instead is to keep a collection with the items that need to be hidden and add/remove these items from the Items collection of the RadTabbedWindow when needed.
Please let me know whether such an approach would work for you.

No answers yet. Maybe you can help?

Tags
TabbedWindow
Asked by
Julia
Top achievements
Rank 1
Share this question
or