Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How do you adjust the position of text in a button?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
AmyGrrl
Cheater
Reputation: 0

Joined: 15 Dec 2016
Posts: 31

PostPosted: Mon Feb 14, 2022 8:21 am    Post subject: How do you adjust the position of text in a button? Reply with quote

Whenever I use the form creator to make a button. The font always seem to be shifted up so its more to the top of a button. Then you have more space at the bottom and the text never looks centered. I've tried adjusting all the settings you can change for a button. Even trying to change the button or font colour does nothing at all. I've tried to adjust the height of the button to remove the spacing at the bottom of the button. But then the text just clips into the top of the button and it gets cut off. I really want to fix the text alignment issue. Thanks for any help given.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25859
Location: The netherlands

PostPosted: Mon Feb 14, 2022 9:27 am    Post subject: Reply with quote

set the autosize property of the button to true.

If that's still not what you like, use an image and draw your button yourself. (perhaps 3 images: One normal, one highlighted, one down)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
AmyGrrl
Cheater
Reputation: 0

Joined: 15 Dec 2016
Posts: 31

PostPosted: Mon Feb 14, 2022 8:14 pm    Post subject: Reply with quote

ok.. Thank you. I was thinking about just making my own buttons which I have done before. Something else I don't like about standard buttons is that they don't work with layers. So you can't place an imagine on top of the button.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites