… | |
… | |
1748 | $FLOORBOX->add (0, 1, new CFClient::UI::Empty expand => 1); |
1748 | $FLOORBOX->add (0, 1, new CFClient::UI::Empty expand => 1); |
1749 | |
1749 | |
1750 | my $row; |
1750 | my $row; |
1751 | for (@{ $CONN->{container}{0} }) { |
1751 | for (@{ $CONN->{container}{0} }) { |
1752 | if (++$row < 7) { |
1752 | if (++$row < 7) { |
|
|
1753 | local $_->{face_widget}; # hack to force recreation of widget |
|
|
1754 | local $_->{desc_widget}; # hack to force recreation of widget |
1753 | CFClient::Item::update_widgets $_; |
1755 | CFClient::Item::update_widgets $_; |
|
|
1756 | |
1754 | $FLOORBOX->add (0, $row, $_->{face_widget}); |
1757 | $FLOORBOX->add (0, $row, $_->{face_widget}); |
1755 | $FLOORBOX->add (1, $row, $_->{desc_widget}); |
1758 | $FLOORBOX->add (1, $row, $_->{desc_widget}); |
1756 | } else { |
1759 | } else { |
1757 | $FLOORBOX->add (new CFClient::UI::Label text => "More..."); |
1760 | $FLOORBOX->add (new CFClient::UI::Label text => "More..."); |
1758 | last; |
1761 | last; |