[squeak-dev] Help: pluggable widgets for forms

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Fri Jun 5 17:23:10 UTC 2020


I have experimented with a number of approaches in the past:


  *   Read-only PluggableTextSpec with a text with a TextAnchor to an ImageMorph
  *   Read-only PluggableTextSpec with a text with a TextFontReference to a FormSetFont
  *   PluggablePanelSpec with an ImageMorph child (specify a symbol for #children)

<http://www.hpi.de/>

However, all these approaches don't support resizing the form later.

I think a PluggableImageMorph that supports changing the image later and scaling it into bounds (either fit or cut) would be a nice extension for Morphic-Pluggable Widgets.

Best,
Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von tim Rowledge <tim at rowledge.org>
Gesendet: Freitag, 5. Juni 2020 19:02 Uhr
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] Help: pluggable widgets for forms



> On 2020-06-05, at 8:16 AM, karl ramberg <karlramberg at gmail.com> wrote:
>
> I'm not sure what you try to do here.
> In morphic you usually use SketchMorph or ImageMorph

I suspect that Subbu is looking for sometihng in the toolbuilder world; and it correct that there isn't anything therein. ToolBuilder is pretty much solely set up to make the basic programming tools right now.

It *shouldn't* be too hard to add a bitmap viewing pane to the system. I like to hope, anyway...


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
I'd kill for a Nobel Peace Prize.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200605/27e38ea2/attachment.html>


More information about the Squeak-dev mailing list