Re:Show HN: kiUi – Lightweight auto-layout stylable UI toolkit
by hugoamnov on Wednesday May 06, 2015 @08:24PM
(#9502635)
One thing you misunderstood :
You don't specify any absolute measurement when using kiUi from C++.
The whole point is to get rid of them. They are calculated under the hood.
The style gives the necessary hints. And this is done in a way entirely separate from the UI code itself.
Think of the C++ code doing what is regularly done in both HTML and Javascript, and the kiUi style sheet as what is regularly done in CSS.
The fact that it is XML is more convention in this case... even with React, it's translated to coded controls via strict rules.. and is relatively easy to manage and reason with.