Use 'forceFit' on grid views.

This commit is contained in:
Andreas Öman 2008-09-09 18:50:06 +00:00
parent 0c893d9d99
commit 33ec2bc217
4 changed files with 7 additions and 3 deletions

View 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: [{

View 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,

View 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. ' +

View file

@ -213,7 +213,7 @@ tvheadend.epg = function() {
store: epgStore,
cm: epgCm,
plugins:[expander],
viewConfig: {forceFit:true},
tbar: [
epgFilterTitle,
'-',