Currently we depend on preconceptions of the layout of the control bar to determine which layout is chosen. Ideally, we do a dynamic measure step, whereby due to applying a class, measuring to see if it fits, and alternatively switching back, or even to a next class, we determine if the class fits or not.
The complexity here is that we need to prevent flipping back and forth between two states. We need to 'measure' and then 'settle'.
Currently we depend on preconceptions of the layout of the control bar to determine which layout is chosen. Ideally, we do a dynamic measure step, whereby due to applying a class, measuring to see if it fits, and alternatively switching back, or even to a next class, we determine if the class fits or not.
The complexity here is that we need to prevent flipping back and forth between two states. We need to 'measure' and then 'settle'.