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

List:       openjdk-openjfx-dev
Subject:    Withdrawn: 8295078: TextField blurry when inside an TitledPane -> AnchorPane
From:       duke <duke () openjdk ! org>
Date:       2023-04-29 2:26:00
Message-ID: rlDJ5O8TU9O6lZXQgMFCJbh2KAgKzRYyh3zrbT2PYo0=.c4015625-dea5-4429-8cc6-dcbf33efc37d () github ! com
[Download RAW message or body]

On Tue, 11 Oct 2022 09:05:34 GMT, Marius Hanl <mhanl@openjdk.org> wrote:

> The problem here is, that the `AnchorPane` does not use its snapped insets.
> Therefore, the fix is to replace all `getInsets().getXXX` calls with their \
> corresponding `snappedXXXInset()` methods. 
> Note: The reason the `AnchorPane` inside  a `TitledPane` is blurry in the first \
> place is because a `TitledPane` applies padding to its content. Line 2995 in \
> `modena.css`: 
> .titled-pane > .content > AnchorPane {
> -fx-padding: 0.8em;
> }
> 
> which translates to 9.6px.
> 
> EDIT: This is btw a good example of the JUnit 5 feature `@ParameterizedTest` with \
> `@ValueSource`

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jfx/pull/910


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

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