subclass it to provide the behaviour you want.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Why don't you take the number of characters the textfield is long, and how many characters the input is long, and formulate a center point out of that...Of course I would rather use setHorizontalAlignment();
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
@cbrolly21 ... serious..
the last post here was in april 2005 ... not to mention the facts that
a. what you suggested here, has already been suggested before
b. the OP already said his problem was solved
so ... how exactly does this post contribute to the thread?
stultuske
Posting Sensei
3,110 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 432