AutoHotkey Community

It is currently May 27th, 2012, 11:34 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: View button bad
PostPosted: October 27th, 2009, 1:47 pm 
Offline

Joined: March 25th, 2008, 8:46 pm
Posts: 38
Why not look good the second button?

Code:
; primer botón
Gui, Add, Button, w150 h30 , Boton1 
Gui, Add, Text, xp yp+35, Primer texto

; segundo boton
Gui, Add, Button, w150 hp xp yp+15 , Boton2
Gui, Add, Text, xp yp+35, Segundo texto

gui show


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 27th, 2009, 2:01 pm 
Offline

Joined: November 14th, 2007, 2:47 pm
Posts: 335
Location: London, England
Try this:

Code:
Gui, Add, Button, w150 h30 , Boton1 
Gui, Add, Text, xp yp+35, Primer texto

; segundo boton
Gui, Add, Button, w150 h30 xp yp+15 , Boton2
Gui, Add, Text, xp yp+35, Segundo texto

gui show


On your code the height of Boton2 was refering to the height of Primer texto.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 27th, 2009, 2:12 pm 
Offline

Joined: March 25th, 2008, 8:46 pm
Posts: 38
Thanks :roll:


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group