[CLOSED] DeskTop Slide Panel sensor

  1. #1

    [CLOSED] DeskTop Slide Panel sensor

    I use your desptop code. My user doesn't like the slide panel popping up while the mouse is still 0.5 inches away from the edge. Is there a way to set it only pops up when the cursor reaches the edge of the desk top window?
    Thanks
    -susan

                <Plugins>
                    <ext:MouseDistanceSensor runat="server" Opacity="false" Threshold="25">
                        <Listeners>
                            <Near Handler="this.component.el.alignTo(Ext.net.Desktop.desktop.body, 'tr-tr', [0, 0], true);" />
                            <Far Handler="this.component.el.alignTo(Ext.net.Desktop.desktop.body, 'tl-tr', [0, 0], true);" />
                        </Listeners>
                    </ext:MouseDistanceSensor>
                </Plugins>
    Last edited by fabricio.murta; Jan 20, 2020 at 7:53 PM. Reason: FIx code block closing tag
  2. #2
    Hello Susan!

    Trying to reduce the Threshold value didn't produce the result you are asking for?
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Oh, yes, that works. Just did not know. Please close this one.
  4. #4
    Thanks for your feedback, glad it helped!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Slide Menu Example?
    By craigthames in forum 4.x Help
    Replies: 0
    Last Post: Oct 14, 2019, 3:30 PM
  2. Replies: 5
    Last Post: Feb 25, 2015, 12:12 PM
  3. Replies: 5
    Last Post: Aug 01, 2013, 8:03 AM
  4. Desktop inside a panel
    By shijith in forum 1.x Help
    Replies: 0
    Last Post: Sep 17, 2010, 10:22 AM
  5. Replies: 0
    Last Post: Oct 22, 2009, 3:26 PM

Posting Permissions