text allignment in small button

dedjloco

Registered User.
Local time
Today, 11:00
Joined
Mar 2, 2017
Messages
49
So this is probably an easy one.
I got a command button, with a + in it. now I want a small button with a big + in it. but when I do this the + is alligned to low. how can I change the space there is between the top and the + , so its alligned in the middle again?
 
Hi

It should automatically be centred vertically like that shown in attached screenshot.

Check the button properties are similar to those shown in screenshot

Colin
 

Attachments

  • Capture.PNG
    Capture.PNG
    49.3 KB · Views: 111
It is centered automatically, but what I want is a very small button with a bigger + and then access thinks the + is to big for the button. but the problem is that the space around the + is to big.
in a textbox you can change the margins but how do you do this in a command button.
 
You can increase the font size up to max 127 like this

However, if the button height is too small for the font it does indeed become off centred
AFAIK this is by design & there is no property available to fix that
 

Attachments

  • Capture.PNG
    Capture.PNG
    48.5 KB · Views: 116
If the textbox does what you want format wise, then perhaps you could use the textbox as your button as it can use the click event too.
 
Find/use an appropriate sized image of a plus sign on the button?
 
Hi again

I had just done what missinglinq suggested before I saw that post.
I've deliberately made it ridiculously large
See attached

Having said that, is the result really worth the effort?

Colin
 

Attachments

  • Capture.PNG
    Capture.PNG
    44.6 KB · Views: 115

Users who are viewing this thread

Back
Top Bottom