Hi Developers,

I have a split pane which should have a slightly different splitter[1], and
therefore I derived my SplitPane class from "qx.ui.splitpane.Pane" with
overwritten "_createChildControlImpl" method (were I return my Splitter
instead of "yours"

<code>
qx.Class.define("app.ui.splitpane.Pane",
{
  extend : qx.ui.splitpane.Pane,
  //...
  members :
  {
    // overridden
    _createChildControlImpl : function (id)
    {
      var control;

      // Create _our_ splitter, not qooxdoo's
      if (id === "splitter")
      {
        control = new app.ui.splitpane.Splitter(this);
        this._add(control, {type : id});
      } else {
        control = this.base(arguments, id);
      }

      return control;
    },
    // ...
  }
});
</code>
That was my idea.

But due to the fact that the 'blocker' used in qx.ui.splitpane.Pane (parent
class of my pane) blocks all mouse interaction on the Buttons, I can't get
them to work.
Is there a "trick" to elevate the buttons above the blocker[2], or any much
cleaner solution to this problem?


Any design hint would be nice, cause I don#t like to re-implement (copy) the
complete Splitter/Pane/Blocker handling in my application code.


Regards,
  Peter

----
[1] It includes two buttons for 'quick hide/show' of a pane (see attached
    image)
[2] ...or at least let the "execute" Events through and/or Cursor appearance.

<<attachment: quickfadesplitpane.png>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to