D could catch this wave: web assembly

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 20 09:18:28 PDT 2015


On Saturday, 20 June 2015 at 15:36:45 UTC, ketmar wrote:
> On Sat, 20 Jun 2015 15:21:28 +0000, Kagamin wrote:
>
>> High DPI settings screw up native UI too if it's not 
>> pixel-precise, and ignoring user preferences is infraction, 
>> I'm afraid.
>
> /me wonders if windows still cannot into dynamic layouts. in 
> any decent gui lib it's actually *harder* to build a gui which 
> screws itself up on font size/window size change.

Windows API would be similar to X11, where you just specify 
everything in pixels and toolkits building on top of it manually 
do all the recomputations and layout policies, not the UI server. 
And then it's still not simple: with small font you can put a lot 
of information into a window, which simply won't fit with bigger 
font size, in this case web gets scrolled naturally, while native 
UI clunks interface and truncates strings trying to fit it into 
the window.


More information about the Digitalmars-d mailing list