setting vertical alignment in text fields and buttons
Posted: Fri Jan 19, 2007 9:10 pm
Is there an easy way to adjust the vertical alignment of text in a text field or button? I frequently want the text to be centered vertically as well as horizontally, within the text field. I would like to be able to choose "center vertically," as I can in Excel, and as I can for horizontal centering in Revolution. I know that I can manually adjust the Text height value in the Object Inspector, but this has to be redone each time the font size or field size is changed.
I would also like to be able to vertically center a button label. In this case, I don't have the Text height value in the Object Inspector. Capital letters are well centered vertically, but lower case letters, and some symbols, such as plus and minus, appear below the button's center line. If no capital letters are present, the text looks awkward. I'd like to be able to nudge the text up or down, when needed.
Better still would be for the automatic centering to work properly in the absence of capital letters. Is there a way to coax Revolution into displaying button labels that contain only lower case letters and/or symbols with proper vertical centering?
Any ideas?
Derek
I would also like to be able to vertically center a button label. In this case, I don't have the Text height value in the Object Inspector. Capital letters are well centered vertically, but lower case letters, and some symbols, such as plus and minus, appear below the button's center line. If no capital letters are present, the text looks awkward. I'd like to be able to nudge the text up or down, when needed.
Better still would be for the automatic centering to work properly in the absence of capital letters. Is there a way to coax Revolution into displaying button labels that contain only lower case letters and/or symbols with proper vertical centering?
Any ideas?
Derek