Mishustin Alexey wrote:
Hi,

I have a question about Perl-Tk.

How to align the content of a cell horizontally, for example, to the
left?
my $where_label = $pane -> Label(
        -text                   =>"Please input WHERE arguments"
        ) ->grid(
        -row                    => 0,
        -column                 => 0,
        -columnspan             => 2
        );


Putting options -side or -anchor in grid() and in Label() didn't help, neither Google... It's always aligned to center.


Try: -sticky=>'w',


--
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

I like Perl; it's the only language where you can bless your
thingy.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to