Results 1 to 2 of 2

Thread: Force height and scrollbar in Ext.tip (Extjs 3.4)

  1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    42

    Default Force height and scrollbar in Ext.tip (Extjs 3.4)

    Hi guys,

    I have this problem about adding a scrollbar to an Ext.Tip like this one:

    var tip = new Ext.Tip({
    header: true,
    collapsible: true,
    width: 350
    });

    This tip receives results from queries, and sometimes, it gets small paragraphs and sometimes it receives big paragraphs. It nicely resizes based on their sizes. I would like, though, to set a specific tip's height (300) and to get a scrollbar as result, if it's needed. For that I've tried adding:

    height: 300,
    autoScroll: true,
    overflow: 'auto',
    layout: 'fit',

    but they had no effect so far. Checking http://docs.sencha.com/extjs/3.4.0/#!/api/Ext.Tip suggested me that there is no way to do this as far as I understand. Is there a way to achieve this in ExtJS 3.4? any dirty-hack solution perhaps?

    Her you can find a simple minimal working example for testing: http://jsfiddle.net/Gery/m7xdxwp8/14/

    Any hints are appreciated,

  2. #2

Similar Threads

  1. Force Vertical Scrollbar?
    By InterTrade in forum Ext 2.x: Help & Discussion
    Replies: 14
    Last Post: 21 Nov 2014, 8:31 AM
  2. Replies: 1
    Last Post: 4 Apr 2013, 8:49 PM
  3. GridPanel ScrollBar force refresh
    By sannas in forum Ext: Discussion
    Replies: 1
    Last Post: 17 May 2012, 6:51 AM

Tags for this Thread

Posting Permissions

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