Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#489 closed enhancement (invalid)

activeResizing support

Reported by: joose@… Owned by: anonymous
Priority: low Milestone:
Component: Widgets Version:
Keywords: Accordion SplitPane widget Cc:
Blocked by: Blocking:

Description (last modified by tk)

I don't know if activeResizing was ment for this, but in trunk: src/widget/SplitPane.js

$ svn diff SplitPane.js
Index: SplitPane.js
--- SplitPane.js (revision 3210)
+++ SplitPane.js (working copy)
@@ -93,8 +93,8 @@



+ if (this.isActiveResize == 1) {

create the fake dragger


this.virtualSizer = document.createElement('div'); = 'absolute'; = 'none';

@@ -104,7 +104,7 @@



+ }

size the panels once the browser has caught up

@@ -124,11 +124,13 @@

this.sizers[i] = document.createElement('div');
this.sizers[i].style.position = 'absolute';

+ if (this.isActiveResize == 1) {

this.sizers[i].className = this.isHorizontal ? 'dojoHtmlSplitPaneSizerH' : 'dojoHtmlSplitPaneSizerV';

var self = this;
var handler = (function(){ var sizer_i = i; return function(e){ self.beginSizing(e, sizer_i); } })();
dojo.event.connect(this.sizers[i], "onmousedown", handler);

+ }


Why? because I wanted accordion not to have possibility to resize those labels only clicking..

  • Joose

Change History (3)

comment:1 Changed 10 years ago by bill

  • Resolution set to invalid
  • Status changed from new to closed

Joose, activeResizing means that the panes resize as you move the slider bar. If activeResizing==false then the panes only resize on mouseUp.

I don't understand your comment exactly but it seems like you misunderstood the meaning.

If this is still an issue please sign a CLA and then attach the patch to this bug report, making sure that tabs have *not* been converted to spaces.

Also note that Accordian will probably be rewritten to not use SplitPane.

comment:2 Changed 9 years ago by tk

  • Description modified (diff)

comment:3 Changed 8 years ago by anonymous

  • Milestone 0.3release deleted

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.