AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ws and hs to work in gui positioning

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Icarus



Joined: 24 Nov 2005
Posts: 323

PostPosted: Sun May 11, 2008 12:59 pm    Post subject: ws and hs to work in gui positioning Reply with quote

For a while I was sure that the fact that I cannot use ws and hs to refer to the Section's width and height was a bug.
Just now realized it is not implemented.

I do not see a reason why ws and hs should not be implemented exactly as xp,yp,wp and hp are implemented.

In other words, I wish the last line here to work
Code:

Gui add, text, x10 y10 w200 h30 border section, hello
Gui add, text, xp yp+50 wp hp border, I am using Previous
Gui add, text, xs ys+100 ws hs border, I am using Section
Back to top
View user's profile Send private message Visit poster's website
jaco0646



Joined: 07 Oct 2006
Posts: 459
Location: MN, USA

PostPosted: Sun May 11, 2008 7:11 pm    Post subject: Reply with quote

I never noticed that before, but I agree it should work. I also wish xp & yp were consistent with the other layout options.
Positioning GUI controls: xp & yp
_________________
http://autohotkey.net/~jaco0646/
Back to top
View user's profile Send private message Visit poster's website
Icarus



Joined: 24 Nov 2005
Posts: 323

PostPosted: Sun May 11, 2008 7:40 pm    Post subject: Reply with quote

Yeah, I hear you.
But all in all, AHK have good UI functions - I am able to generate nice guis with all the xp/xs stuff - it helps a lot when you start moving things around.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group