Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4022542

scrolling list component does not accomodate size of scrollbars correctly

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5

      Description

      Terry is implementing an applet that has several widgets in it including a scrolling list, a popup menu, and type-in fields. The problem we are having is that there is no easy way to lay out the various items with contraints because the scrolling list widget does not appear to include the size of its scroll bars in it width and height. This causes all kinds of really annoying layout issues and hacks. Like we have to pad labels around the scrolling list to accomodate the scrollbars. The right answer is that the programmer should have the option to tell the scrolling list to "subsume" a list item when the horizontal scroll bar gets displayed. Or the scrolling list should include the size of the scrollbars in it width and height calculations. See the attached screenshots for an example of the problem.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gsaab Georges Saab
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: