Changing Gui Resize option also changes window size

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
think
Posts: 136
Joined: 09 Feb 2014, 05:20

Changing Gui Resize option also changes window size

04 Nov 2019, 06:24

Changing Resize option also changes the window size/margin - is there a way to avoid this?
Run the script and press Alt+X to see the unwanted effect.

Code: Select all

gui, margin, 20, 20
gui, add, Edit, w300 h300, press Alt - x
gui, show
return

!x::
if s
   Gui -Resize
else
   Gui +Resize
s:=s?0:1
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Anput, Nerafius and 71 guests