Results 1 to 2 of 2

Thread: Boundlist does not include vertical scrollbars in width calculations

    You found a bug! We've classified it as EXTJS-22475 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Sep 2014
    Posts
    90

    Default Boundlist does not include vertical scrollbars in width calculations

    We're using Ext JS 6.0.1.250, but this has been an observation since Ext JS 4. The behavior seems buggy, but I suppose it may be intended functionality. Here's the issue:
    • We want to size the boundlist of a combo box to a minimum and maximum width.
    • This is important to avoid wrapping.
      • When items wrap in a boundlist, they look like two separate items because of the line-height of the list (and, presumably, the way it's coded).
    • This technique works just fine UNLESS you set a height on the boundlist (because, for example, you have a huge list of boundlist items).
    • With a fixed height, a scrollbar is present. The framework doesn't seem to take the width of the scrollbar into account when calculating the width of the list, so no matter what you use as a maxWidth, it's never enough because it's always less than the width of the boundlist + the width of the scrollbar.
    Fiddle demonstration: https://fiddle.sencha.com/#fiddle/1ab7

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Replies: 6
    Last Post: 20 Sep 2016, 5:45 AM
  2. Vertical Scrollbars are not appearing in IE 8, 9.
    By sagi.kiran in forum Ext: Q&A
    Replies: 2
    Last Post: 1 Apr 2012, 8:41 PM
  3. combobox boundlist width
    By dnorman in forum Ext: 4.x Beta
    Replies: 1
    Last Post: 1 Apr 2012, 6:55 PM
  4. Vertical split with scrollbars
    By tryingextjs in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 7 Mar 2010, 9:09 AM
  5. MessageBox with 2 vertical scrollbars
    By systao in forum Sencha GXT Q&A
    Replies: 4
    Last Post: 30 Jun 2009, 4:39 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
  •