D GUI Framework (responsive grid teaser)
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Tue May 28 07:55:58 UTC 2019
On Tuesday, 28 May 2019 at 07:33:39 UTC, dayllenger wrote:
> You can change the element dimensions programmatically -
> directly or via styling, maybe with transition effects. They
> can be dependent on each other or on the parent/sibling
> dimensions. In all these cases, the computations layout engine
> performs are the same.
You can, but why should you? We need to think about this in
terms of usability requirements and use scenario constraints, not
in terms of what is possible programatically.
1. There is no need to recompute the layout 60 times per second
in this use case. Maybe it is better to have 2 types of layout:
one static and one dynamic.
2. On some displays any type of motion looks really bad because
the screen refresh is slow (high latency). E.g. electronic ink
> Why fixed screen device cannot have scrolling? Logic?
You can have scrolling, but it makes for very poor usability.
If you create a UI for controlling big dangerous equipment then
you don't want the information to be off-screen.
More information about the Digitalmars-d-announce