]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Use 'forceFit' on grid views.
authorAndreas Öman <andreas@lonelycoder.com>
Tue, 9 Sep 2008 18:50:06 +0000 (18:50 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Tue, 9 Sep 2008 18:50:06 +0000 (18:50 +0000)
webui/static/app/acleditor.js
webui/static/app/chconf.js
webui/static/app/cwceditor.js
webui/static/app/epg.js

index afe9a98d57e04bc6c20b7e244485ee3e4cc02390..3918ece04c0772a017c2e3551b26453dd4fc5231 100644 (file)
@@ -171,6 +171,7 @@ tvheadend.acleditor = function() {
            plugins:[enabledColumn,streamingColumn,pvrColumn,adminColumn, webuiColumn],
            store: store,
            clicksToEdit: 2,
+            viewConfig: {forceFit:true},
            cm: cm,
            selModel: new Ext.grid.RowSelectionModel({singleSelect:false}),
            tbar: [{
index 09ff5f5b1a4b73b6e0288fa376d6b3be6d352a95..d556a11114ca9fe2c8b5dd68437a6f80aad00a6e 100644 (file)
@@ -104,6 +104,7 @@ tvheadend.channeldetails = function(chid, chname) {
        plugins:[enabledColumn, expander],
        store: transportsstore,
        clicksToEdit: 2,
+        viewConfig: {forceFit:true},
        cm: cm,
        selModel: new Ext.grid.RowSelectionModel({singleSelect:false})
     });
@@ -148,7 +149,7 @@ tvheadend.channeldetails = function(chid, chname) {
                        loadingText: 'Loading...',
                        fieldLabel: 'XML-TV Source',
                        name: 'xmltvchannel',
-                       width: 300,
+                       width: 200,
                        displayField:'xcTitle',
                        valueField:'xcTitle',
                        store: xmltvChannels,
@@ -169,7 +170,7 @@ tvheadend.channeldetails = function(chid, chname) {
                    name:"tags",
                    valueField:"identifier",
                    displayField:"name",
-                   width:250,
+                   width:200,
                    height:200,
                    store:tvheadend.channelTags,
                }]
@@ -276,6 +277,7 @@ tvheadend.channeldetails = function(chid, chname) {
  */
 tvheadend.chconf = function() {
     var chlist = new Ext.grid.GridPanel({
+        viewConfig: {forceFit:true},
        ddGroup: 'chconfddgroup',
        enableDragDrop: true,
        stripeRows:true,
index 37b3da6d20fdcd9db1e8ef01891b496e7f69c8ea..a9ec6d291a20880c3430be0a55100565cef95ed8 100644 (file)
@@ -159,6 +159,7 @@ tvheadend.cwceditor = function() {
            store: store,
            clicksToEdit: 2,
            cm: cm,
+            viewConfig: {forceFit:true},
            selModel: new Ext.grid.RowSelectionModel({singleSelect:false}),
            tbar: [{
                    tooltip: 'Create a new code word connection entry on the server. ' + 
index d3d4f47f19885237feae9792ba3f29b1a07129bf..f8348139f41c1442804232edfebf30fe8bae4ef7 100644 (file)
@@ -213,7 +213,7 @@ tvheadend.epg = function() {
        store: epgStore,
        cm: epgCm,
        plugins:[expander],
-
+        viewConfig: {forceFit:true},
        tbar: [
            epgFilterTitle,
            '-',