Replies: 3 comments 5 replies
-
I've basically implemented that in v0.7.13, see the Mosaic Style layout in the demo |
Beta Was this translation helpful? Give feedback.
-
"The idea is that a single tab would look more just like a 'window' but would 'transform' into a tab type look and feel as soon as there was more than one to pick from in the tabset." That does happen, in the Mosaic Style demo I've added the attribute tabSetEnableDrop=false that prevents dropping into the tabset, but in the demo you can still press the AddActive button to add one, it will then change into a usual tabset |
Beta Was this translation helpful? Give feedback.
-
Ah yes. I didn't try that! Thank you. That looks just the thing. Is there a way to have all of the features of that but still allow dropping a tab/tabset onto the window to add the tab(s)? |
Beta Was this translation helpful? Give feedback.
-
When there is only one tab in a tabset (i.e. for simple layouts), It would be much nicer for the details of the tab window to appear more like a 'Title Bar' than a tab. (E.g. centred text and no 'tab frame')
I think this could be fairly easily implemented by defining a class as part of the properties of the layout (or the tab set) to be used when the number of children in the tabset === 1. The css could then be different for a class on its own vs a set with multiple children.
Making it a separate property should make it easy to make the change without affecting any existing operation?
Beta Was this translation helpful? Give feedback.
All reactions