ruby setViewSize and module display window

For general discussion related FlowStone
User avatar
pshannon
Posts: 144
Joined: Fri Jan 02, 2015 3:08 am

Re: ruby setViewSize and module display window

Post by pshannon »

Yea, "self.setViewSize" works fine, it does in other languages too, this was not exactly what my project was, I was giving the smallest possible example of controlling the size at real time. The goal was to be able to change it from landscape vs portrait in properties. Technically I don't see any real world application with what I posted, I hope that makes sense? :)
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: ruby setViewSize and module display window

Post by tulamide »

pshannon wrote:Yea, "self.setViewSize" works fine, it does in other languages too, this was not exactly what my project was, I was giving the smallest possible example of controlling the size at real time. The goal was to be able to change it from landscape vs portrait in properties. Technically I don't see any real world application with what I posted, I hope that makes sense? :)

Of course it does! I hope my post didn't feel like critic. It was meant as a confirmation, that this is the way to do it technically.
"There lies the dog buried" (German saying translated literally)
User avatar
pshannon
Posts: 144
Joined: Fri Jan 02, 2015 3:08 am

Re: ruby setViewSize and module display window

Post by pshannon »

tulamide wrote:
pshannon wrote:Yea, "self.setViewSize" works fine, it does in other languages too, this was not exactly what my project was, I was giving the smallest possible example of controlling the size at real time. The goal was to be able to change it from landscape vs portrait in properties. Technically I don't see any real world application with what I posted, I hope that makes sense? :)

Of course it does! I hope my post didn't feel like critic. It was meant as a confirmation, that this is the way to do it technically.


Tula,

No worries at all and I didn't take it poorly/critical in any way. As always, thanks for your generous feed back. You and others makes a big difference here.

BTW Your mention of errors that slip in? Geez, I do that all the time, I sometimes hit send before proof reading because of lack of time and I have an oh crap moment. :oops:

One more thing, in the English language, the phrase "Does that makes sense?" Isn't a jab that you didn't understand, it is truly a question, did "I" make sense on what "I" was trying to convey.
Post Reply