[Pharo-users] Re: Updating a Form after changing pixel values

2025-03-10 Thread Esteban Lorenzano via Pharo-users
Hi, This is a corner case that is not considered in Spec design: In fact what you are doing is changing the content of the model and you need the presenter to react to it. Indeed, as Stef says the solution is to re-set the image to the image presenter when performing the change: myPresente

[Pharo-users] Re: Updating a Form after changing pixel values

2025-03-09 Thread Renaud de Villemeur via Pharo-users
Hi Mikael If my understanding is correct, you're using SpImagePresenter to display a Form.  You then have made some changes to  the Form and you want to show its new face.  Why don't you set the image again in your presenter ? Something like `image image: yourUpdatedForm`. You can even update

[Pharo-users] Re: Updating a Form after changing pixel values

2025-03-09 Thread sducasseatwork--- via Pharo-users
Hi Mikael I do not know the answer so I tried to find it. Indeed the superclass>>updatePresenter is empty :( Let us see what esteban will reply. Now I tried to check the morphic back end. Now writing directly on the canvas this way does not look the right way. Did you try with SpMor