Jump to content

Change GUI's Size


fisofo
 Share

Recommended Posts

i've just got a ton of questions lately :whistle:

Ok, Only thing I could find before on this was this, which is the same question, but didn't really have the answer i was looking for...

Maybe it's not possible, but I'm wondering if there is a way to dynamically change a GUI's size. Something like a GUISetSize, or something like that? Or is there some other work-around?

I do like gary's scrollable gui, but i'd like to see if someone has some other way to change the size of a GUI.

thanks!

Link to comment
Share on other sites

Anything wrong with WinMove()?

Ah... I just tried it, your right, that does what i want... I hadn't bothered to try it before because from the description in the help i thought it was just for "Windows" windows :whistle:

Only thing is, when i use it on my GUI all the buttons spread out... is there a way to anchor the buttons so that resizes just add space rather than spread things out?

thanks SmOke_N!

Link to comment
Share on other sites

  • Moderators

Ah... I just tried it, your right, that does what i want... I hadn't bothered to try it before because from the description in the help i thought it was just for "Windows" windows :whistle:

Only thing is, when i use it on my GUI all the buttons spread out... is there a way to anchor the buttons so that resizes just add space rather than spread things out?

thanks SmOke_N!

Have you tried something and not succeeded at it?

Opt('GUIResizeMode', 802)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Have you tried something and not succeeded at it?

Opt('GUIResizeMode', 802)

:whistle: sorry, i've been juggling a bit too much lately... typically i can find a solution myself, but i forgot to even look for that last question, running around testing other pieces of code.

thanks for the help :">

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...