Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 47d933b

Browse files
RubenHalmanjunners
authored andcommitted
include width or min width in each column
1 parent e3702cb commit 47d933b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

webviews/components/ScanResultTable.svelte

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,20 @@
3434
title: "Label",
3535
field: "label",
3636
formatter: "link",
37+
minWidth: 150,
3738
cellClick: function (e, cell) {
3839
tsvscode.postMessage({
3940
type: "goToFile",
4041
value: cell.getRow().getData().flow,
4142
});
4243
},
4344
},
44-
{ title: "Flow Type", field: "type", formatter: "plaintext" },
45+
{
46+
title: "Flow Type",
47+
field: "type",
48+
formatter: "plaintext",
49+
minWidth: 120
50+
},
4551
{
4652
title: "% Test Coverage",
4753
field: "coverage",

webviews/components/ViolationTableFull.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
title: "Name",
5050
field: "name",
5151
formatter: "textarea",
52+
minWidth: 150,
5253
},
5354
{
5455
title: "Type",
@@ -60,6 +61,7 @@
6061
title: "Flow name",
6162
field: "flowName",
6263
formatter: "textarea",
64+
minWidth: 150,
6365
},
6466
{
6567
title: "DataType",
@@ -81,11 +83,13 @@
8183
title: "Connects to",
8284
field: "connectsTo",
8385
formatter: "textarea",
86+
minWidth: 150,
8487
},
8588
{
8689
title: "Expression",
8790
field: "expression",
8891
formatter: "textarea",
92+
minWidth: 150,
8993
},
9094
],
9195
});
@@ -99,4 +103,4 @@
99103
}
100104
</script>
101105

102-
<div bind:this={tableComponent} />
106+
<div bind:this={tableComponent} />

0 commit comments

Comments
 (0)