Hi,
I have a vlayout with multiple tabsets as members, I don't want to have a splitbar in between the members but would like to make the tabbar draggable. So that the user can drag the tabbar up and down to resize a tabset (and the one above it). I think it is doable looking at the implementation of the splitbar which implements the dragMove function. But... when I enable dragging for the tabbar the dragMove/dragStart/dragStop function does not seem to be called.
Here are the tabBarProperties i tried (ignore the console.log, I should use isc.Log I know... :-).
Is my idea in the right direction? Or why is the dragMove not called? Or should I try a different approach?
gr. Martin
I have a vlayout with multiple tabsets as members, I don't want to have a splitbar in between the members but would like to make the tabbar draggable. So that the user can drag the tabbar up and down to resize a tabset (and the one above it). I think it is doable looking at the implementation of the splitbar which implements the dragMove function. But... when I enable dragging for the tabbar the dragMove/dragStart/dragStop function does not seem to be called.
Here are the tabBarProperties i tried (ignore the console.log, I should use isc.Log I know... :-).
Code:
var tabBarProperties = { canDrag:true, dragAppearance:"none", dragStartDistance:1, keepInParentRect: false, canDragReposition: true, dragMove: function() {console.log('move'); return true;}, dragStart: function() {console.log('start'); return true;}, dragStop: function() {console.log('stop'); return true;} };
gr. Martin
Comment