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() {
return new Ox.TextList({
return new Ox.TableList({
columns: [
{
align: "left",

View file

@ -73,7 +73,7 @@ pandora.ui.filesView = function(options, self) {
}
});
self.$filesList = Ox.TextList({
self.$filesList = Ox.TableList({
columns: [
{
clickable: function(data) {
@ -235,7 +235,7 @@ pandora.ui.filesView = function(options, self) {
select: selectFiles
});
self.$instancesList = Ox.TextList({
self.$instancesList = Ox.TableList({
columns: [
{
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,
title = Ox.getObjectById(pandora.site.filters, id).title,
//width = pandora.getFilterWidth(i, panelWidth),
that = Ox.TextList({
that = Ox.TableList({
_selected: !pandora.user.ui.showFilters
? pandora.user.ui._filterState[i].selected
: false,

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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