- PluggableTextMorph does not provide a means for
clients to know when the text has changed
aPluggableTextEditorMorph autoAccept: true
- TabMorph does not provide a means for client to know
when the tab has changed
Sure, become a dependent of the #tabSelectorMorph and it will trigger
a change #selectedIndex whenever the tab changes.
Alternatively you could use a deticated panel that notices when it is
attached into the Morphic tree (owner is set).
- The label of a TabMorph should shrink to fit the
space. Right now a tab with a large title will expand the bounds of the tab. I would like
to have the possibility to limit the size of the title to the size of the contents.
Ideally, there should be some abbreviation (with ...) of the title.
Grease has a method called String>>#truncate:ellipsis:. For perfect
results you might want to specify the width in pixels not characters,
but that could be easily added using AbstractFont>>#widthOfString:.
Lukas
--
Lukas Renggli
www.lukas-renggli.ch