RFR: 8279614: The left line of the TitledBorder is not painted on 150 scale factor

Alisen Chung achung at openjdk.java.net
Wed Mar 2 18:13:07 UTC 2022


On Mon, 14 Feb 2022 23:26:25 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> I think there's a rounding error when doing x.5 scalings causing the drawing area to be one pixel too small on the left side
>
> Can you please check how it will work for the undecorated frame, if it will be fine then the problem is somehow related to the size of the insets.

@mrserb I've been trying to manually adjust the insets/variables to see what could be causing the issue, but only decreasing borderX by 1 seems to fix the issue. Could you clarify what you can gather from the undecorated frame working?

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

PR: https://git.openjdk.java.net/jdk/pull/7449



More information about the client-libs-dev mailing list