Dear reader,
I have attached a simple stack.
You click the button and you should get a pink rectangle with rounded corners.
If you click the rectangle it disappears.
You can do this again and again. I have randomized the height of the pink rectangle to show that it is in fact changing with each click of the button.
The idea is to have a custom shaped substack - like a speech bubble or perhaps a fly out menu, or whatever you might like a custom shaped substack for - that can change its shape dynamically.
I wanted to run this past someone else before I log this as a bug.
windowShape On the Fly
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: windowShape On the Fly
Hi nlexia,
on windows you have to set the dimensions of the stack to the dimensions of the windowShape.
I guess WTF is the width of the stack that is not changed. Try to set the width to the width of the image and see if WTF is gone.
Kind regards
Bernd
on windows you have to set the dimensions of the stack to the dimensions of the windowShape.
I guess WTF is the width of the stack that is not changed. Try to set the width to the width of the image and see if WTF is gone.
Kind regards
Bernd
Re: windowShape On the Fly
Hi nlexia,
like this in script of substack
Kind regards
Bernd
like this in script of substack
Code: Select all
# position the image
put the short id of the target into tNewImageID
set the top of image id tNewImageID to 0
set the left of image id tNewImageID to 0
set the width of this stack to the width of image id tNewImageID
Bernd
Re: windowShape On the Fly
Hi nlexa,
just noticed that I must have had a severe case of dyslexia when I addressed you as "nlexia"
Sorry about that.
Kind regards
Bernd
just noticed that I must have had a severe case of dyslexia when I addressed you as "nlexia"
Sorry about that.
Kind regards
Bernd
Re: windowShape On the Fly
Yes I'm pretty sure that has sorted it. Thanks very much Bernd 
