[squeak-dev] SketchEditor drawing area not resizing with window resize

karl ramberg karlramberg at gmail.com
Wed Feb 20 19:10:20 UTC 2019


I made a change that does mostly what you describe except save the drawing
that is out side the bounds when you shrink the extent.
Maybe we should clamp the size to the minimal extent that contain your
whole drawing so you can't accidentally lose anything.

Best,
Karl


On Tue, Feb 19, 2019 at 6:20 PM Jecel Assumpcao Jr. <jecel at merlintec.com>
wrote:

> Stephen A Smith wrote on: Sun, 17 Feb 2019 19:42:43 -0600 (CST)
> > Tried to submit this as a bug using Mantis but was unable to figure out
> how
> > to log in there? Do we need to register somewhere to submit bugs?
>
> I am not sure how active Mantis is. For now, sending it here is probably
> a good idea.
>
> > Trying to draw a line across a sketch, but I need my sketch to be wider
> than
> > the default width that the initial drawing area opens up at. I resize the
> > SketchEditor window using the halos, to the width I want, then try to
> draw a
> > horizontal line from left to right. The line stops drawing at what
> appears
> > to be the border of the original drawing area's right edge. I can't draw
> any
> > kind of shape past that point.
>
> My guess is that the morph gets resized but the associated bitmap
> remains the same.
>
> > Anyone else having this issue? My desktop is 1920x1080. I'm using Squeak
> 5.2
> > build 18229 64bit Windows 10.
>
> On Saturday this bit me as I tried to draw stuff during a Skype meeting.
> I was using Squeak 4.2 All-in-one on a Mac.
>
> The solution would be to create a new, larger bitmap to match the new
> morph size and then copy the image from the old bitmap (you don't want
> the current drawing to vanish). If the morph becomes smaller than the
> bitmap, I would leave it alone so that the now unseen parts will
> reappear if the morph is grown again. In that case it might be
> interesting to truncate the bitmap to the current morph size when the
> "keep" button is pressed.
>
> -- Jecel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190220/b06ee6c0/attachment.html>


More information about the Squeak-dev mailing list