News for hackers. Stuff that matters.
Re:Nana: A modern C++ GUI library by jplayer01 on Saturday April 20, 2019 @07:53PM (#19709671)
Is HTML/CSS really easier to use than something like Qt/QML?
Re:Nana: A modern C++ GUI library by rat9988 on Saturday April 20, 2019 @07:58PM (#19709680)
I truly believe that writing html is way easier than qt/qml. I can't remember how hard was styling in qt/qml.
Re:Nana: A modern C++ GUI library by ridiculous_fish on Saturday April 20, 2019 @11:25PM (#19710373)
This is a great sickness of the web: every website does custom styling on controls, and neglects all but the most primitive UIs. The result is a lowest common denominator: the web only really supports the click and the tap.

Consider the humble popup button: a native one can support mouse input, or arrow keys, or keyboard shortcuts, or type selection, or accessible interfaces. Take it a step further and support scripting.

But if your popup button is a div with an onClick, it won't support any of these. Even if you go the extra mile and reimplement all of them, the user won't even think to try it, because it's a "styled" snowflake. So the web sinks.

HTML is way easier because it does a hell of a lot less.