[FIX] web: list: increase width of boolean columns

Task 2068261
This commit is contained in:
Aaron Bohy
2019-09-25 06:16:53 +00:00
parent 7e72471552
commit 22d43f1540
2 changed files with 4 additions and 4 deletions
@@ -664,7 +664,7 @@ ListRenderer.include({
return '1';
}
const fixedWidths = {
boolean: '40px',
boolean: '50px',
date: '92px',
datetime: '146px',
float: '92px',
+3 -3
View File
@@ -1538,7 +1538,7 @@ QUnit.module('Views', {
QUnit.test('width of some of the fields should be hardcoded if no data', async function (assert) {
const assertions = [
{ field: 'bar', expected: 40, type: 'Boolean' },
{ field: 'bar', expected: 50, type: 'Boolean' },
{ field: 'int_field', expected: 74, type: 'Integer' },
{ field: 'qux', expected: 92, type: 'Float' },
{ field: 'date', expected: 92, type: 'Date' },
@@ -1578,7 +1578,7 @@ QUnit.module('Views', {
QUnit.test('width of some fields should be hardcoded if no data, and list initially invisible', async function (assert) {
const assertions = [
{ field: 'bar', expected: 40, type: 'Boolean' },
{ field: 'bar', expected: 50, type: 'Boolean' },
{ field: 'int_field', expected: 74, type: 'Integer' },
{ field: 'qux', expected: 92, type: 'Float' },
{ field: 'date', expected: 92, type: 'Date' },
@@ -1908,7 +1908,7 @@ QUnit.module('Views', {
QUnit.test('width of some of the fields should be hardcoded if no data (grouped case)', async function (assert) {
const assertions = [
{ field: 'bar', expected: 40, type: 'Boolean' },
{ field: 'bar', expected: 50, type: 'Boolean' },
{ field: 'int_field', expected: 74, type: 'Integer' },
{ field: 'qux', expected: 92, type: 'Float' },
{ field: 'date', expected: 92, type: 'Date' },