subclass it to provide the behaviour you want.
jwenting
duckman
8,522 posts since Nov 2004
Reputation Points: 1,656
Solved Threads: 345
Skill Endorsements: 19
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
Skill Endorsements: 22
@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
Industrious Poster
4,382 posts since Jan 2007
Reputation Points: 1,318
Solved Threads: 610
Skill Endorsements: 24