[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 4346610: Adding JSeparator to JToolBar "pushes" buttons added after separator to edge
From:       Prasanta Sadhukhan <psadhukhan () openjdk ! org>
Date:       2023-07-28 6:45:51
Message-ID: DyXTomCSeCQV7-PaJa43G6AxDHQM9obAtNCnGMKLn1I=.192bd177-f5c3-480e-967d-50ee965f5c23 () github ! com
[Download RAW message or body]

On Thu, 27 Jul 2023 14:30:23 GMT, Prasanta Sadhukhan <psadhukhan@openjdk.org> wrote:

> Adding buttons in a JToolBar after a JSeparator will push the button to the far \
> right of the frame instead of just after the separator 
> ![image](https://github.com/openjdk/jdk/assets/43534309/7fcad657-493f-4370-b046-b31c212a8aa7)
>  
> This is because BasicSeparatorUI does not define a maximum size. This leads to the \
> separator getting all the extra width. Fix is made to limit the separator's maximum \
> size to the preferred size of corresponding orientation (i.e. width for VERTICAL \
> and height for HORIZONTAL)

That can be safely ignored...As per my previous PRs, there also some tests fails but \
is not related to the change being done and does not hamper when integrated...

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15054#issuecomment-1655118441


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic