Commit fd1e185096b9d10f574c493f8b9a07959d608034
1 parent
1fd66336
Exists in
master
and in
99 other branches
Apply minWidth to ctalog columns (cf. #7096)
Showing
1 changed file
with
8 additions
and
1 deletions
Show diff stats
js/app/views/CatalogUI.js
... | ... | @@ -270,6 +270,7 @@ Ext.define('amdaUI.CatalogUI', { |
270 | 270 | { |
271 | 271 | xtype: 'rownumberer', |
272 | 272 | width: 50, |
273 | + minWidth: 50, | |
273 | 274 | renderer: function (value, metaData, record) { |
274 | 275 | var msg = record.index + 1; |
275 | 276 | if (record.get('isNew') || record.get('isModified')) { |
... | ... | @@ -286,6 +287,7 @@ Ext.define('amdaUI.CatalogUI', { |
286 | 287 | sortable: true, |
287 | 288 | dataIndex: 'start', |
288 | 289 | width: 120, |
290 | + minWidth: 50, | |
289 | 291 | menuDisabled: false, |
290 | 292 | editor: { |
291 | 293 | xtype: 'datefield', |
... | ... | @@ -302,6 +304,7 @@ Ext.define('amdaUI.CatalogUI', { |
302 | 304 | sortable: true, |
303 | 305 | dataIndex: 'stop', |
304 | 306 | width: 120, |
307 | + minWidth: 50, | |
305 | 308 | menuDisabled: false, |
306 | 309 | editor: { |
307 | 310 | xtype: 'datefield', |
... | ... | @@ -317,6 +320,7 @@ Ext.define('amdaUI.CatalogUI', { |
317 | 320 | sortable: true, |
318 | 321 | dataIndex: 'durationHour', |
319 | 322 | width: 120, |
323 | + minWidth: 50, | |
320 | 324 | menuDisabled: false, |
321 | 325 | hidden: true, |
322 | 326 | id: amdaUI.CatalogUI.COL_TO_HIDE_DURATION + '1', |
... | ... | @@ -336,6 +340,7 @@ Ext.define('amdaUI.CatalogUI', { |
336 | 340 | sortable: true, |
337 | 341 | dataIndex: 'durationMin', |
338 | 342 | width: 120, |
343 | + minWidth: 50, | |
339 | 344 | menuDisabled: false, |
340 | 345 | hidden: false, |
341 | 346 | id: amdaUI.CatalogUI.COL_TO_HIDE_DURATION + '2', |
... | ... | @@ -355,6 +360,7 @@ Ext.define('amdaUI.CatalogUI', { |
355 | 360 | sortable: true, |
356 | 361 | dataIndex: 'durationSec', |
357 | 362 | width: 120, |
363 | + minWidth: 50, | |
358 | 364 | menuDisabled: false, |
359 | 365 | hidden: true, |
360 | 366 | id: amdaUI.CatalogUI.COL_TO_HIDE_DURATION + '3', |
... | ... | @@ -378,7 +384,8 @@ Ext.define('amdaUI.CatalogUI', { |
378 | 384 | text: obj.name, |
379 | 385 | sortable: true, |
380 | 386 | dataIndex: obj.id, |
381 | - menuDisabled: false | |
387 | + menuDisabled: false, | |
388 | + minWidth: 50 | |
382 | 389 | }; |
383 | 390 | switch (obj.type) { |
384 | 391 | case 0: //double | ... | ... |