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 

GUI, Font, s option

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
ranomore



Joined: 06 Nov 2004
Posts: 178
Location: Salt Lake City, UT

PostPosted: Thu Jan 13, 2005 3:59 am    Post subject: GUI, Font, s option Reply with quote

Not to dampen an exciting release day, but I believe I've found a minor GUI issue.
Code:
gui, add, edit, w600 ; Add a fairly wide edit control at the top of the window.
gui, add, text, section, First Name: ; Save this control's position and start a new section.
gui, font, s4
gui, add, text,, Last Name:
gui, add, edit, ys ; Start a new column within this section.
gui, add, edit
gui, show
return

This changes the width of the edit controls, but not the size of the text. It works correctly with larger numbers, just not smaller ones. I tested this on 1.0.24 and 1.0.25.

Now I need to go find some cool things to do with these fancy new expressions... Very Happy Wink Very Happy
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Thu Jan 13, 2005 4:44 pm    Post subject: Reply with quote

Maybe 4 points is too small for some fonts or some OSes. That script seems to work okay XP: Text typed into either of the two bottom edit fields is extremely tiny.

To work around this, you could try specifying a different font face, under the hopes that there is at least one that will successfully scale down to 4.

If you find out anything of interest, please post here.

Thanks.
Back to top
View user's profile Send private message Send e-mail
ranomore



Joined: 06 Nov 2004
Posts: 178
Location: Salt Lake City, UT

PostPosted: Sat Jan 15, 2005 6:02 am    Post subject: Reply with quote

Well, I am working on Windows 98. Always creates unusual issues. More on the other font faces later!
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
ranomore



Joined: 06 Nov 2004
Posts: 178
Location: Salt Lake City, UT

PostPosted: Tue Jan 18, 2005 2:25 am    Post subject: Reply with quote

So, some work at smaller font sizes and others do not.
Working:
Arial
Verdana
Century Gothic Bold
MS Serif
Tahoma

Not Working:
MS Sans Serif
Modern

Probably most work. I only looked at some of the recommended ones in the standard windows font list in the help file.

Sorry to report an erroneous bug Embarassed
EDIT: this probably doesn't actually qualify as something of interest either...
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports 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