Message Boards Message Boards

0
|
1041 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to individually size each TabView tab?

Posted 1 year ago

Hello everybody,

I created a grid, with the TabView function, which has two tabs, but they have different sizes and the TabView function always scales the tab by the one with the largest size. Is there any way to make TabView resize each tab by the size of its content?

Sinval

ss1 = "Number" -> 
   Grid[{Map[PasteButton, {1, 2, 3}], Map[PasteButton, {4, 5, 6}], 
     Map[PasteButton, {7, 8, 9}]}, Frame -> All];

ss2 = "Box" -> 
   Grid[{{PasteButton[Box1], PasteButton[Box2], PasteButton[Box3], 
      PasteButton[Box4]}}, Frame -> All];

TabView[{ss1, ss2}]
POSTED BY: Sinval Santos
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract