Re: [External] : Re: UI elements sizing in Modena.css

2024-07-10 Thread Pedro Duque Vieira
uesday, July 9, 2024 at 15:51 > *To: *Andy Goryachev > *Cc: *openjfx-dev@openjdk.org > *Subject: *[External] : Re: UI elements sizing in Modena.css > > .. one more reason to use the CSS variable spec that I forgot to mention: > > 5 - It's a spec that has been thoroughly thou

Re: [External] : Re: UI elements sizing in Modena.css

2024-07-10 Thread Andy Goryachev
to me like a lot of work though, but I could be mistaken. Any ideas how to add support for CSS variables to JavaFX? -andy From: Pedro Duque Vieira Date: Tuesday, July 9, 2024 at 15:51 To: Andy Goryachev Cc: openjfx-dev@openjdk.org Subject: [External] : Re: UI elements sizing in Modena.css

Re: [External] : Re: UI elements sizing in Modena.css

2024-07-09 Thread Andy Goryachev
to add variables, though it is much more complex task. -andy From: Pedro Duque Vieira Date: Tuesday, July 9, 2024 at 15:04 To: Andy Goryachev Cc: openjfx-dev@openjdk.org Subject: [External] : Re: UI elements sizing in Modena.css Andy, if I understand the suggestion correctly, you want to set

Re: UI elements sizing in Modena.css

2024-07-09 Thread Pedro Duque Vieira
.. one more reason to use the CSS variable spec that I forgot to mention: 5 - It's a spec that has been thoroughly thought of before it was added to CSS and it has stood the test of time. On Tue, Jul 9, 2024 at 11:04 PM Pedro Duque Vieira < pedro.duquevie...@gmail.com> wrote: > Andy, if I unders

Re: UI elements sizing in Modena.css

2024-07-09 Thread Pedro Duque Vieira
Andy, if I understand the suggestion correctly, you want to set the Modena sizes using variables that can be easily overridden. To that effect variables must first be able to hold numeric values as, as it stands today JavaFX only allows colors to be used for CSS variables. So, you're also suggestin

UI elements sizing in Modena.css

2024-07-09 Thread Andy Goryachev
Since we touched the modena.css, I would like to ask the group's opinion on whether we should fix the way modena.css sizes UI elements. Please see https://bugs.openjdk.org/browse/JDK-8314683 for reference, where changing the font size also unexpectedly changed the scrollbar. What do you think