[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: RFR: 8289539: The color returned by CheckBox.interiorBackground is incorrect
From: Jayathirth D V <jdv () openjdk ! org>
Date: 2022-09-28 7:36:17
Message-ID: LfKiak3ZyUMx6038fy9gOpHO9KQRTmKKU2X7jzPSvgo=.5f3b222b-a983-4eff-9d8e-25079fcace93 () github ! com
[Download RAW message or body]
On Thu, 22 Sep 2022 06:59:59 GMT, Tejesh R <tr@openjdk.org> wrote:
> The color returned for `InteriorBackground` property is the default color used for \
> only _WindowsClassicLookAndFeel_. For _WindowsLookAndFeel_ the `InteriorBackground` \
> color is not been used when checkbox paint happens. In _WindowsLookAndFeel_ the \
> CheckBox check/uncheck is drawn using `ImageCache` which is totally independent of \
> `InteriorBackground` color in which the user expects it to be. The proposed fix is \
> to return null for _WindowsLookAndFeel_ (which is what happens in other LookAndFeel \
> like Metal/Synth/Motif/Aqua ) and return default color which is the actual color \
> used in _WindowsClassicLookAndFeel_.
Lets get inputs from @prsadhuk also on this. Whether to keep \
checkBox.interiorBackground valid only for WindowsClassicLAF and return null for \
WindowsLAF Or try to find ways to return valid value for WindowsLAF.
-------------
PR: https://git.openjdk.org/jdk/pull/10385
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic