Thread Text wird nicht richtig angeordnet in Frame (5 answers)
Opened by Froschpopo at 2005-04-03 04:53

Froschpopo
 2005-04-03 04:53
#43153 #43153
User since
2003-08-15
2653 Artikel
BenutzerIn
[default_avatar]
Ich Scrollframe.
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    my $pane = $pop->Scrolled(
"Pane", -scrollbars => 'e',
-bg => 'white',
-width=>$config{PrivatChatWidth},
-height=>240
)->pack(-anchor => 'sw');
my $text;
my $entry= $pop->Entry(-textvariable => \$text,-width => "70")->pack();
$entry->focus();
$entry->bind("<Return>", sub {
$text = substr($text, 0,10),
$pane->Label(-text => "$text",
-bg => 'white'
)->pack( -anchor => 'sw', -side => 'top') if $text ne '';
#send_entry($_[0], $text),
$text = '';
$pane->update();
});

anscheinend wird der platz voll ausgenutzt, jedoch reagiert er überhauptnicht auf die formatierungsoptionen anchor und side. Warum nicht?

View full thread Text wird nicht richtig angeordnet in Frame