Note how the label view and input view have differing modes for desktop/tablet/whatever and for phone, but the button views take it one step further by also saying that it should care about portrait mode.
In the cancel button's instance, it only cares if it's phone AND portrait. If it's phone AND landscape, it uses the default properties. However, in the save button's instance, it has properties for both portrait and landscape.
At the moment, these are the only things that I care about, and I imagine other are similar. In general, we don't care about the actual aspect ratio, just when that aspect ratio switches from landscape to portrait.
This is nice. You can't use
default
though, that's reserved. The way that I had it before was that layout was the default and if there was a mode, this was applied as an adjustment onto the default. It made it easier to just nudge values without having to specify the whole layout for each mode. Something like:Maybe we can add the adjustments within layout though? I'm not sure if that's better or not.