some changes towards fixed height icon lists

This commit is contained in:
rlx 2011-08-06 04:28:19 +00:00
commit bfcb489c5c
3 changed files with 13 additions and 6 deletions

View file

@ -334,6 +334,7 @@ pandora.ui.infoView = function(data) {
return image.selected;
})[0];
$list = Ox.IconList({
defaultRatio: 5/8,
item: function(data, sort, size) {
var ratio = data.width / data.height;
size = size || 128;