Do you mean like this?Bruttosozialprodukt wrote:And here is another thing: http://i.snag.gy/8gM1f.jpg
This GUI does not resize or anything and chances are that I'll never change it again because changing one thing means changing everything.
I'd really to rewrite this whole thing to have the left side being able to resize in width and everything to resize in height when changing the window size.
And I'd also like to not worry about margins between any controls and have elements easily scaled to 100% (minus margins) inside a group box etc..
Code: Select all
Gui,+Resize +Scroll
Gui, Add, Edit, w500 h400 aw ah
Gui, Add, ListView,x+10 w100 h200 axa ah1/3,Season
Gui, Add, ListView,x+10 w200 h200 axa aha,Episode
Gui, Add, Edit, xp-110 yp+210 w310 axa aha aya
Gui, Add, ListView, yp+30 w310 h160 aya axa aha,Hoster|Source|Language|Url
Gui, Show, x0
return
GuiClose:
ExitApp
You can even use negative values to make right part smaller:
Code: Select all
#SingleInstance force
Gui,+Resize +Scroll +MaxSize880x600
Gui, Add, Edit, w500 h400 aw5 ah
Gui, Add, ListView,x+10 w100 h200 axa aw-1 ah1/3,Season
Gui, Add, ListView,x+10 w200 h200 axa aw-3 aha,Episode
Gui, Add, Edit, xp-110 yp+210 w310 ax aw-4 aha aya
Gui, Add, ListView, yp+30 w310 h160 axp aya awa aha,Hoster|Source|Language|Url
Gui, Show, x0
return
GuiClose:
ExitApp