TextList -> TableList

This commit is contained in:
rolux 2012-06-27 09:41:39 +02:00
parent 49e20c193a
commit 4773cc5c7a
10 changed files with 11 additions and 11 deletions

View file

@ -68,7 +68,7 @@ var app = new Ox.App({
}); });
function constructList() { function constructList() {
return new Ox.TextList({ return new Ox.TableList({
columns: [ columns: [
{ {
align: "left", align: "left",

View file

@ -73,7 +73,7 @@ pandora.ui.filesView = function(options, self) {
} }
}); });
self.$filesList = Ox.TextList({ self.$filesList = Ox.TableList({
columns: [ columns: [
{ {
clickable: function(data) { clickable: function(data) {
@ -235,7 +235,7 @@ pandora.ui.filesView = function(options, self) {
select: selectFiles select: selectFiles
}); });
self.$instancesList = Ox.TextList({ self.$instancesList = Ox.TableList({
columns: [ columns: [
{ {
align: 'left', align: 'left',

View file

@ -6,7 +6,7 @@ pandora.ui.filter = function(id) {
panelWidth = pandora.$ui.document.width() - (pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize) - 1, panelWidth = pandora.$ui.document.width() - (pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize) - 1,
title = Ox.getObjectById(pandora.site.filters, id).title, title = Ox.getObjectById(pandora.site.filters, id).title,
//width = pandora.getFilterWidth(i, panelWidth), //width = pandora.getFilterWidth(i, panelWidth),
that = Ox.TextList({ that = Ox.TableList({
_selected: !pandora.user.ui.showFilters _selected: !pandora.user.ui.showFilters
? pandora.user.ui._filterState[i].selected ? pandora.user.ui._filterState[i].selected
: false, : false,

View file

@ -5,7 +5,7 @@ pandora.ui.folderBrowserList = function(id) {
// but resizeFolders will set them to different widths // but resizeFolders will set them to different widths
var columnWidth = (pandora.user.ui.sidebarSize - Ox.UI.SCROLLBAR_SIZE - 96) / 2, var columnWidth = (pandora.user.ui.sidebarSize - Ox.UI.SCROLLBAR_SIZE - 96) / 2,
i = Ox.getIndexById(pandora.site.sectionFolders[pandora.user.ui.section], id), i = Ox.getIndexById(pandora.site.sectionFolders[pandora.user.ui.section], id),
that = Ox.TextList({ that = Ox.TableList({
columns: [ columns: [
{ {
clickable: true, clickable: true,

View file

@ -240,7 +240,7 @@ pandora.ui.folderList = function(id) {
}, 1000); }, 1000);
}; };
} }
that = Ox.TextList({ that = Ox.TableList({
columns: columns, columns: columns,
items: items, items: items,
keys: ['query'], keys: ['query'],

View file

@ -7,7 +7,7 @@ pandora.ui.list = function() {
preview = false; preview = false;
if (view == 'list') { if (view == 'list') {
that = Ox.TextList({ that = Ox.TableList({
columns: [].concat([{ columns: [].concat([{
align: 'center', align: 'center',
defaultWidth: 16, defaultWidth: 16,

View file

@ -51,7 +51,7 @@ pandora.ui.logsDialog = function() {
}) })
.css({float: 'right', margin: '4px'}), .css({float: 'right', margin: '4px'}),
$list = Ox.TextList({ $list = Ox.TableList({
columns: [ columns: [
{ {
id: 'id', id: 'id',

View file

@ -30,7 +30,7 @@ pandora.ui.namesDialog = function() {
} }
}), }),
$list = Ox.TextList({ $list = Ox.TableList({
columns: [ columns: [
{ {
id: 'id', id: 'id',

View file

@ -28,7 +28,7 @@ pandora.ui.titlesDialog = function() {
} }
}), }),
$list = Ox.TextList({ $list = Ox.TableList({
columns: [ columns: [
{ {
id: 'id', id: 'id',

View file

@ -93,7 +93,7 @@ pandora.ui.usersDialog = function() {
}) })
.css({float: 'right', margin: '4px'}), .css({float: 'right', margin: '4px'}),
$list = Ox.TextList({ $list = Ox.TableList({
columns: [ columns: [
{ {
id: 'id', id: 'id',