Re: Nautilus questions
Posted by Stephan Eggermont-3 on Aug 18, 2015; 10:41pm
URL: https://forum.world.st/Nautilus-questions-tp4843894p4843911.html
On 18/08/15 21:59, Peter Uhnák wrote:
> I would expect the left/right history buttons being right next to the
> History Navigator selector. That way history-related controls are
> together and the purpose of the buttons is obvious
The history navigation would be better without the selector by addding
a drop-down menu to the back button in a way similar to that in web
browsers, i.e. click goes back, while mouseDown and hold opens the
menu.
> Placing them all on a single line would also save up vertical space,
> which considering we've added QualityAssistant and Rubric adds another
> line is quite valuable.
The single line was a pretty bad idea, considering that we could not
make clear which button applied to what part of the UI. There are two
places where new users expect that, either at the top or at the bottom
of a window.
> And finally, code-wise I've never really interacted with Morphic and
> stayed in Spec, so when I was digging through code it seems that the way
> Morphs are composed are through these "addMorph:fullFrame: (LayoutFrame
> identity rightFraction: 0.10; yourself);" constructs sprinkled
> haphazardly throughout the code. Is there nothing like SpecLayout?
Sure, just take a look at LayoutPolicy and subclasses. I feel like we're
missing a constraints based or grid layout in Morphic.
Stephan