RFR: 8320796: CssMetaData.combine() [v4]
Andy Goryachev
angorya at openjdk.org
Tue Nov 28 21:56:17 UTC 2023
On Tue, 28 Nov 2023 19:02:27 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
> But I've already explained the rationale: a subclass **cannot** hide its inherited JavaFX properties.
It can, but only from the CSS subsystem. Whether it makes sense or not is a different topic, but it can - by not reporting it via getClassCssMetaData();
(verified by removing FONT styleable from TextArea (TextInputControl:1649) - the user cannot change the font via CSS)
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1296#issuecomment-1830814585
More information about the openjfx-dev
mailing list