Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Setting TextAlignment and Right to Left in WxPerl

Status
Not open for further replies.

mohsenalizadeh

Programmer
Mar 17, 2010
5
0
0
IR
I need To setting Textalignment and RTL(right to left) in
Wx::StaticText widget.
Wx::StaticText(
$panel,
-1,
"$taxi",
[50,10],
);
How can I do it ?

thankyou.
 
I haven't used the Wx module, but know a fair amount about TckTk (I'm assuming Wx is a Tk extension for Perl. If so, this may help you toward your answer...)

(in Tk) the text widget doesn't have a -justify attribute. However text widgets support 'tag's which in turn support left/right/center style justification. (again in Tk) 'tag's can be specified while inserting characters into the text widget.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top