[Cuis-dev] Other Balloon text concern
Juan Vuletich
juan at cuis.st
Sun Feb 8 05:44:13 PST 2026
Hi Hilaire,
What you say makes sense. If an owner provides a #balloonText, why not
use it? Smalltalk still amazes me after decades using it. It took less
than 10 minutes to prepare update #7835, that I just pushed to github.
And the code is simple and makes sense. Now, for instance, in a Browser,
if you place the mouse over the scrollbars or other widget without
balloon help, it will show the one for the window.
There is some chance this is annoying in some cases. Please everyone, if
you see some place where this is not good, just tell, and we'll find a
way to avoid it if desired.
Thanks Hilaire for raising this. Cuis doesn't follow any other criteria
than what makes sense for us. And we're all learning all the time, and
Cuis can always improve as we do it.
Cheers,
On 2026-02-08 8:43 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi,
>
> I don't know if this can be improved, but I think it is worth sharing
> this minor concern.
>
> Observe in the code below, to build a simple view, how I need to
> duplicate the balloon text to all the view sub-morphs. The expected
> behavior was that balloon text will be needed for the encompassing
> morph (top view) if no balloon text was set in the sub-morphs.
>
> But may, be this should be the normal behavior.
>
> initialize
> | scroll |
> super initialize.
> self beColumn.
> date := LabelMorph contents: (model date printFormat: #(1 2 3 $/ 1 1 1)) fontSize: 12 emphasis: 1.
> date*setBalloonText*: model balloonText.
> description := TextParagraphMorph contents: (model description justified italic pointSize: 10)::
> color: Color white ;
> setHeightOnContent ;
> *setBalloonText*: model balloonText;
> borderWidth: 0.
> self addMorph: date layoutSpec: LayoutSpec keepMorphExtent ;
> addMorphUseAll: (scroll := PluggableScrollPane new
> layoutSpec: LayoutSpec useAll;
> *setBalloonText*: model balloonText;
> color: Color white;
> scroller: description);
> morphExtent: TimelineEntryView extent.
> scroll adoptWidgetsColor: self defaultColor.
> scroll verticalScrollBar morphWidth: 6.
> self*setBalloonText*: model balloonText
>
>
> --
> http://mamot.fr/@drgeo
>
--
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260208/3d2380d3/attachment.htm>
More information about the Cuis-dev
mailing list