Toolbars and Statusbars

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Toolbars and Statusbars

Peter Simmonds
I am new to Dolphin Smalltalk. I am currently experimenting with view
creation and have created
a view with a toolbar and statusbar. These work OK but I am unable to locate
them North and South
respectively. Comparing my view with the Smalltalk system views I find that
in both toolbar and
statusbar aspects a line appears: #xy arrangement=North. This line doesn't
appear in my view.

Can anyone tell me why this is. I am using Dolphin Smalltak Professional
5.1.

Peter Simmonds
Northampton, UK


Reply | Threaded
Open this post in threaded view
|

Re: Toolbars and Statusbars

Ian Bartholomew-19
Peter Simmonds wrote:

> respectively. Comparing my view with the Smalltalk system views I
> find that in both toolbar and
> statusbar aspects a line appears: #xy arrangement=North. This line
> doesn't appear in my view.

You have to set the #layoutManager aspect for the _parent_ view of the
Toolbar and Statusbar to "BorderLayout".  If you do that you should then see
the appropriate values in each subview's #arrangement aspect.

In general terms a parent view's layoutManager controls the arrangement for
its immediate child views and you specify each child's position using its
#arrangement aspect..

--
Ian

Use the Reply-To address to contact me.
Mail sent to the From address is ignored.