auto zoom when patcher window is resized

Oct 23, 2012 at 10:57am

auto zoom when patcher window is resized

Hello

i’ve done this little patch it works well but there’s two things I don’t like about it

-the qmetro to get the size of the window (is there a way to get it only when the window is resized by the user?)

-when you resize the window it offset from the origin and you have to rescroll it manually to x,y origin (is there a message to [thispatcher] to reset the offset to 0,0 or is there’s a way to unable scroll bars?)

thanks a lot

I’m not not really familiar with js but if it is the only way i will take it!

Attachments:
  1. zoomWindow.maxpat
#64895
Oct 23, 2012 at 2:12pm

Hi,

Somewhere in my github you can find an external named [quebec] to get a bang when the window is resized (and few other stuff) ; currently mac only and done with max 5 (should work with max 6 but not tested).

#233999
Oct 23, 2012 at 3:35pm

thank you a lot it works well

PB

#234000
Oct 29, 2012 at 5:08pm

yeh !!
very useful!!
it took me a while to find the actual download…here is the direct link:
https://github.com/nicolasdanet/Grenadine/zipball/master
thanks mr danet !

#234001
Oct 29, 2012 at 6:16pm

You’re welcome.

I admit that it is not user friendly.

[qebec] currently does 3 things :
- bang when resized,
- report lock/unlock state,
- notify when the title of the parent patcher box is changed ; e.g to dynamicaly set a [receive] inside a subpatcher.

– Pasted Max Patch, click to expand. –

if you have any comment / suggestion do not hesitate ; it aims to be a swiss army knife for observing notifications.

Thanks, Nicolas.

#234002

You must be logged in to reply to this topic.