UI Buttons (was Re: [squeak-dev] MessageNames: clicking on class names)

Ken Causey ken at kencausey.com
Fri Apr 2 21:02:00 UTC 2010

On Fri, 2010-04-02 at 18:38 +0200, Frank Shearar wrote:
> Ken Causey wrote:
> > On Thu, 2010-04-01 at 13:20 -0600, Chris Muller wrote:
> >>> I noticed that the new search morph in the docking bar will bring up class
> >>> names as well as selector names. For instance, searching for "obj" will show
> >>> things like "AbstractObjectsAsMethod".
> >>>
> >>> If you hit the browse button on these entries, though, nothing happens.
> >> This is because the preference, #alternativeBrowseIt is disabled, by
> >> default.  Crazy isn't it?  If just enable that and you can (b)rowse
> >> hierarchy's, i(m)plementors, or se(n)ders with those keys..
> >>
> >>  - Chris
> > 
> > It's not that simple.  There is another clearly related problem that
> > this does not address (oh, and your solution does not fix the problem,
> > it simply leaves out the most glaring instance of the problem).  The
> > 'instance', '?', 'class' buttons have the same problem as the alternate
> > browser buttons.  Even more fun because they are in a subpane of the
> > upper frame, try to enlarge just the source code pane by pulling the
> > main divider up...the instance/?/class button pane is squashed and once
> > it reaches it's lower limit you can't move the main divider up any
> > farther.  Instead you have to start by dragging up the divider between
> > the pane listing the classes and the button pane then drag up the
> > overall divider leaving enough space for the buttons.  Not intuitive in
> > my book.
> Ah, now that I play around with the Browser, I see what you mean. The 
> behaviour is... not ideal.
> I'd like to see the instance/?/class buttons resize like the 
> browse/send/implementor/etc buttons: constant size up until a point, and 
> then decreasing proportional to their containing panel.
> I think you'd get this by putting both the instance/?/class buttons' 
> PluggablePanel and the class list's PluggableListMorphPlus inside a 
> common parent PluggablePanel.
> I'll try play around with it tonight and see what I can do. (Given that 
> my total ToolBuilder experience is the hour I spent on 
> Tools-fbs.(220|221).mcz, I look forward to gentle pointers on how to not 
> make a hash of things!)
> frank

Thanks Frank,

I'm puzzled.  What is the use case for having the buttons resized?  It
seems to me that a button has a desirable size and you make it that size
and leave it.

I appreciate your looking into this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100402/d81733c6/attachment.pgp

More information about the Squeak-dev mailing list