Leser: 2
|< 1 2 3 >| | 22 Einträge, 3 Seiten |
$shelf_content -> columnWidth(1, "100%");
1
2
3
4
5
6
7
8
9
10
11
my $shelf_content = $right_frame -> Scrolled
('HList', -header => 1, -columns => 2,
-scrollbars => "oe", -selectmode => "single",
-selectbackground => "#FFFFFF", -background => "lightgrey", -browsecmd => sub{&show_description})
-> pack(-expand => 1, -fill => "both", -side => 'top');
my $header_style = $shelf_content -> ItemStyle('text', -foreground => 'black');
$shelf_content -> header('create', 0, -text => "Aenderung");
$shelf_content -> header('create', 1, -text => "Name");
$shelf_content -> columnWidth(1, "100%"); #so nicht ;)
my $right_frame = $main_frame -> Frame(-relief => 'sunken', -borderwidth => 1) -> pack(-side => 'left', -expand => 1, -fill => 'both');
Quote$hlist->columnWidth($col, '')
An empty string indicates that the width of the column should be just wide enough to display the widest element in this column. In this case, the width of this column may change as a result of the elements in this column changing their sizes.
|< 1 2 3 >| | 22 Einträge, 3 Seiten |