use border radius for icon lists with frame icons

This commit is contained in:
rolux 2011-08-17 15:52:58 +00:00
parent 2482f30a41
commit df2ec09e50
3 changed files with 3 additions and 0 deletions

View file

@ -37,6 +37,7 @@ pandora.ui.browser = function() {
});
} else {
var that = Ox.IconList({
borderRadius: pandora.user.ui.icons == 'posters' ? 0 : 8,
centered: true,
defaultRatio: pandora.user.ui.icons == 'posters' ? 5/8 : 1,
id: 'list',

View file

@ -76,6 +76,7 @@ pandora.ui.list = function() { // fixme: remove view argument
} else if (view == 'icons') {
//alert(JSON.stringify(pandora.user.ui.lists[pandora.user.ui.list].selected))
that = Ox.IconList({
borderRadius: pandora.user.ui.icons == 'posters' ? 0 : 16,
defaultRatio: pandora.user.ui.icons == 'posters' ? 5/8 : 1,
id: 'list',
item: function(data, sort, size) {

View file

@ -173,6 +173,7 @@ pandora.ui.mainMenu = function() {
$list = pandora.$ui.list
}
$list && $list.options({
borderRadius: value == 'posters' ? 0 : pandora.user.ui.item ? 8 : 16,
defaultRatio: value == 'posters' ? 5/8 : 1
}).reloadList(true);
} else if (data.id == 'viewmovies') {