Results 1 to 2 of 2

Thread: Tooltip constraints

  1. #1
    Sencha User ChrisR's Avatar
    Join Date
    Apr 2007
    Location
    Belgium
    Posts
    83

    Default Tooltip constraints

    I've got a column renderer defined that creates a HTML fragment which contains the ext.qtip attributes to create a quicktip. All works fine, the image renders in the grid cell, when i hover over the image a tooltip with the larger image is shown ... all nice but the quicktip on the bottom row expands beyond the constraints of the panel, is there any way to make it stay inside the panel boundaries?

    Code:
    var thumbRenderer = function(value, meta, record){
        var thumbPath   = Config.baseUrl + 'images/thumb/' + record.get('filename');
        var previewPath = Config.baseUrl + 'images/big/' + record.get('filename');
        return String.format('<img src="{0}" ext:qwidth="312" ext:qtip="<img style=\'margin: 2px 0;width:300px;\' src=\'{1}\' />" width="60" class="pic" />', thumbPath, previewPath);
    }
    Click for large view - Uploaded with Skitch
    Webdevelopment : Skyrocket Concepts

  2. #2
    Sencha User ChrisR's Avatar
    Join Date
    Apr 2007
    Location
    Belgium
    Posts
    83

    Default

    Anyone has any idea on this? I'm kinda stuck.
    Webdevelopment : Skyrocket Concepts

Similar Threads

  1. Constraints on scrollable scaled image
    By mmigdol in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 18 Jun 2011, 9:31 AM
  2. GroupField constraints ?
    By Ash2009 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 10 Jun 2010, 1:29 PM
  3. Ideas for showing search constraints in the UI
    By mmusson in forum Community Discussion
    Replies: 0
    Last Post: 19 Aug 2009, 6:00 AM
  4. setting x constraints for drag/drop
    By debtman7 in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 18 Mar 2009, 5:15 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
  •