Summary
In this chapter, we had an introduction to the key concepts of UI Toolkit, and how to create UI Documents and Stylesheets. Regarding UI Documents, we learned how to create different elements such as images, text, and buttons, and how to position and size them using different methods, such as Absolute and Relative positioning, and pixel or percentage units. Also, we saw how to make the UI adapt to different sizes using different combinations of Position attributes. Finally, we learned how to use USS Stylesheets to share styles between different elements to easily manage our whole UI skinning.
Essentially, we learned again how to make UIs with a different system. Again, please consider the fact that this system is still in the experimental phase, and so presently, it is not recommended for real production projects. We used all these concepts to recreate the same UI created in Chapter 11, User Interface Design.
In the next chapter, we are going to see how to add Animations...