TPD3 vs TPD4 - Button Text Alignment
mush
Posts: 287
G'day,
I had a bit of a search but couldn't find any answers on the forum for my question.
When you press a button on a G3 panel that has a 3D rectangle border, the text
on the button follows the 3D effect by moving down and to the right by 2 pixels.
I can not find how to do this on a G4 panel with TPD4. When a panel file is imported
into TPD4 it assigns a 3D rectangle border to a Bevel border. The bevel border
however does not shift the text.
I can get around this by changing the text justification to absolute and offsetting the
on state, but this becomes tedious with hundreds of buttons and alignment is very
difficult and sometimes impossible with multi-line text buttons.
Anybody have the same problem?
Is there a simple solution?
Cheers
I had a bit of a search but couldn't find any answers on the forum for my question.
When you press a button on a G3 panel that has a 3D rectangle border, the text
on the button follows the 3D effect by moving down and to the right by 2 pixels.
I can not find how to do this on a G4 panel with TPD4. When a panel file is imported
into TPD4 it assigns a 3D rectangle border to a Bevel border. The bevel border
however does not shift the text.
I can get around this by changing the text justification to absolute and offsetting the
on state, but this becomes tedious with hundreds of buttons and alignment is very
difficult and sometimes impossible with multi-line text buttons.
Anybody have the same problem?
Is there a simple solution?
Cheers
0
Comments
Otherwise I see no other options.
Unfortunately the x co-ordinates are exactly the same only if the text is exactly the same.
the y is the same for the same font size.
Thanks for your ideas all the same.
Make your text effect a hard drop shadow. Set it to transparent in the off state. Make the main text transparent in the on state. When the button is off, you won't see the drop shadow, but you will see the main text; in the on state you won't see the main, but will see the drop text. The main drawback, of course, is you lose the ability to display all the nice text effects.
What would be a cleaner way of dealing with it would be if justification and position were independent settings. It annoys the heck out of me that I have to manually justify text the instant I move it off center.
Me too!
Thanks for your idea Dave, I hadn't thought of that one.