FXML and high dpi screens
Herve Girod
herve.girod at gmail.com
Sun May 19 05:14:03 PDT 2013
*> You have to be careful, apples support for pixel densities and
screen **> sizes is very lack luster, it came late in the day and they
only ever **> needed to support a small number of densities and screen
sizes.
**> Googles approach on android, or preferably the standard html5 *
*> **approach using media queries is going to cause less issues in the
**> long run. The requirement to have the the layout change because of
**> orientation, screen size or density is prevalent in every mobile
**> application I have ever had to write or port.
**> As such having it done for me, does not appeal, unless I have a way
**> of overriding it.*
I personally find the way Android does this overly complex.
And it's much simpler for them, because they don't use a scene graph,
but only the old way of defining widgets and containers.
AFAIK, their framework does not help at all when using absolute
positioning (AbsoluteLayout on Android), and in that case the
developer must do everything by himself, which is really a pain.
But if they can have this limitation because they only have regular
widgets, it's not possible when using a scene graph and mixing graphic
shapes with widgets like in JavaFX.
Herve
More information about the openjfx-dev
mailing list