Tabs AutoFit

Topics related to the Krypton Navigator.

Moderators: Phil Wright, Chris Porter

Tabs AutoFit

Postby larskj » Fri Sep 24, 2010 5:44 pm

Hello,

I am looking for a way to tell the navigator to auto fit the tabs in the available width, if the tabs does not fit the navigator should shrink them to
make them fit - very much like Google Chrome behaves when adding alot of tabs.

Well I did find the Navigator.Bar.ItemsMaximumSize so it can be accomplished with some code listeninig for pages being added and removed.

But to make it a more complicated; I would like to make the SelectedTab to get its preferred width and the other tabs to split on the rest.
Again, this could rather easily be handled by custom code if there was a way to set/get individual tab width, is there a way to do this?


Regards
Lars Krog-Jensen
larskj
 
Posts: 2
Joined: Thu Sep 23, 2010 11:09 pm

Return to Krypton Navigator

Who is online

Users browsing this forum: No registered users and 1 guest