in reply to Justifying a label inside a Tk megawidget
Use the -anchor option for the label widget. The -justify option determines how multiline text is aligned.
$self->Component( 'Label' => 'label', -anchor => 'w', # -justify => 'left' )->pack(-side => 'left', -anchor => 'w');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Justifying a label inside a Tk megawidget
by monksp (Acolyte) on Jul 15, 2009 at 16:17 UTC |