the AutomateMyTask GUI weird resizing of the window

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
waldemarcarbirk
Posts: 1
Joined: 15 Jan 2022, 04:46

the AutomateMyTask GUI weird resizing of the window

Post by waldemarcarbirk » 15 Jan 2022, 04:51

Hi AHK Community,

Just downloaded the AmT GUI and have been experiencing this weird resizing of the GUI for some reason. All of the text is all crammed up and it doesn't seem to be possible to manuaally resize the GUI window. Have any of you guys experienced anything similar?

best regards
Waldemar, Denmark
image.png
image.png (57.8 KiB) Viewed 315 times

User avatar
mikeyww
Posts: 26600
Joined: 09 Sep 2014, 18:38

Re: the AutomateMyTask GUI weird resizing of the window

Post by mikeyww » 22 Jan 2022, 13:47

I did not try the script, but this is sometimes what will happen with a poorly designed GUI that does not accommodate various displays or DPI. It is generally simply a series of coding errors as the GUI is built in the script. It may also include errors in coding how resizing occurs, but I generally find in this situation that the coder is not accommodating a different display (monitor). When I see this, I typically steer clear of the software, wondering what else went wrong in the program and awaits discovery.

RussF
Posts: 1242
Joined: 05 Aug 2021, 06:36

Re: the AutomateMyTask GUI weird resizing of the window

Post by RussF » 22 Jan 2022, 15:18

Perhaps a Windows display scaling problem?

Russ

User avatar
mikeyww
Posts: 26600
Joined: 09 Sep 2014, 18:38

Re: the AutomateMyTask GUI weird resizing of the window

Post by mikeyww » 22 Jan 2022, 15:23

One solution in GUI design is using relative positioning rather than absolute positioning of controls. Two examples are below.

Code: Select all

Gui, Font, s10
Gui, Add, Checkbox, x10 y10, Check1
Gui, Add, Checkbox, x10 y15, Check2
Gui, Show

Code: Select all

Gui, Font, s10
Gui, Add, Checkbox,, Check1
Gui, Add, Checkbox,, Check2
Gui, Show
image220122-1527-002_cr.png
First
image220122-1527-002_cr.png (4.52 KiB) Viewed 251 times
image220122-1527-001_cr.png
Second
image220122-1527-001_cr.png (5.94 KiB) Viewed 251 times

Post Reply

Return to “Ask for Help (v1)”