You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey A. Ivanov (JIRA)" <ji...@apache.org> on 2006/12/08 15:52:21 UTC

[jira] Created: (HARMONY-2552) [classlib][swing] JScrollBar doesn't scale its arrow buttons

[classlib][swing] JScrollBar doesn't scale its arrow buttons
------------------------------------------------------------

                 Key: HARMONY-2552
                 URL: http://issues.apache.org/jira/browse/HARMONY-2552
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey A. Ivanov
            Priority: Minor


When the size of JScrollBar is smaller than the sum of the arrow buttons, the buttons should be scaled so that both of them are visible to the user.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2552) [classlib][swing] JScrollBar doesn't scale its arrow buttons

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2552?page=all ]

Alexey A. Ivanov updated HARMONY-2552:
--------------------------------------

    Attachment: H2552-Harmony.png
                H2552-RI.png

Shows how the JScrollBar looks.
When run on RI, try to make frame even smaller and see how arrow buttons get smaller.

> [classlib][swing] JScrollBar doesn't scale its arrow buttons
> ------------------------------------------------------------
>
>                 Key: HARMONY-2552
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2552
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: H2552-Harmony.png, H2552-RI.png, HTest2552.java
>
>
> When the size of JScrollBar is smaller than the sum of the arrow buttons, the buttons should be scaled so that both of them are visible to the user.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2552) [classlib][swing] JScrollBar doesn't scale its arrow buttons

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2552?page=all ]

Alexey A. Ivanov updated HARMONY-2552:
--------------------------------------

    Attachment: HTest2552.java

The demo application.

When the application run on Harmony, you'll see the button at the bottom and part of the button at the top of the scroll bar. Clicking the top button shows it completely but hides the bottom one.

On RI, you'll see both buttons: they were scaled down.

If you make the frame larger, Harmony implementation will stop you from making it too small whereas RI will scale its buttons when they don't fit with the default size.

> [classlib][swing] JScrollBar doesn't scale its arrow buttons
> ------------------------------------------------------------
>
>                 Key: HARMONY-2552
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2552
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: HTest2552.java
>
>
> When the size of JScrollBar is smaller than the sum of the arrow buttons, the buttons should be scaled so that both of them are visible to the user.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira