I played with the Ruminate code some more this morning. It looks like there are some basic features that I need to add:
- Center controls within their parent. Controls require specific positions, which could be problematic with resizable containers.
- There doesn’t appear to be an existing way to set focus to specific controls, like buttons. This makes navigating the menus by keyboard impossible without writing specific code for each app that uses the library.
I’ve already taken care of the first problem, at least for buttons, by adding a quick and hacky “CenterOn” method to do this horizontally. But, it would be better to add proper support for all widgets and allow for both vertical and horizontal centering.
I haven’t decided what to do about the second issue yet. I’m going to take a break and then toy with a couple of approaches later.