Results 1 to 4 of 4

Thread: Apply extjs-tip-ui to QuickTips from the QuickTipManager

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2014
    Posts
    13
    Answers
    2

    Default Apply extjs-tip-ui to QuickTips from the QuickTipManager

    Hi,

    we are building quicktips through the Ext.tip.QuickTipManager-singleton.
    (http://docs.sencha.com/extjs/6.0/6.0...uickTipManager)

    Does anyone know how to apply a custom ui which is build via the 'extjs-tip-ui'-mixin? (http://docs.sencha.com/extjs/6.0/6.0...n-extjs-tip-ui)

    The ui is located inside our theme.

  2. #2
    Sencha User
    Join Date
    Jan 2016
    Posts
    462
    Answers
    60

    Default

    You could add this to you sass file
    Code:
    @include extjs-tip-ui(        
           $ui: 'greentip',        
           $ui-background-color: green; 
    );

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2014
    Posts
    13
    Answers
    2

    Default

    Thanks for your answer but regrettably the ui in sass itself is not the problem.

    The question is how to apply this ui cause I am not nistanciating every Tooltip via a create-method or something like this.
    Instead we're using the Ext.tip.QuickTipManager-singleton and its methods do not seem to offer the ability to set the ui-config for the tips.

    Does anyone use this singleton together with a ui for tips?

  4. #4
    Sencha User
    Join Date
    Jan 2016
    Posts
    462
    Answers
    60

    Default

    This was in the documentation. I just added the ui property.
    Code:
    // Init the singleton.  Any tag-based quick tips will start working.
    Ext.tip.QuickTipManager.init();
    
    // Apply a set of config properties to the singleton
    Ext.apply(Ext.tip.QuickTipManager.getQuickTip(), {
        maxWidth: 200,
        ui:"yourUI",
        minWidth: 100,
        showDelay: 50      // Show 50ms after entering target
    });

Similar Threads

  1. qtip registered with QuickTipManager not displayed
    By christophe.geiser in forum Ext: 4.x Beta
    Replies: 1
    Last Post: 31 Mar 2013, 7:18 AM
  2. [CLOSED] Ext.tip.QuickTipManager target does not accept el anymore.
    By yoshinori in forum Ext:Bugs
    Replies: 1
    Last Post: 17 Feb 2013, 8:48 AM
  3. QuickTips vs. QuickTipManager
    By alphadogg in forum Ext: Discussion
    Replies: 2
    Last Post: 20 May 2011, 12:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •