Skip to content

Commit

Permalink
change non existent v_font_size with fontSize variable from settingsS…
Browse files Browse the repository at this point in the history
…tore, adds autoResize == false to tabulator grids
  • Loading branch information
plucik authored and eug3nix committed May 16, 2024
1 parent 2757376 commit d87af0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export default {
let table = new Tabulator(this.$refs.tabulator, {
layout: 'fitDataStretch',
data: [],
autoResize: false,
columnDefaults: {
headerHozAlign: "left",
headerSort: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export default {
this.table = new Tabulator(this.$refs.tabulator, {
autoColumns: true,
layout: "fitDataStretch",
autoResize: false,
columnDefaults: {
headerHozAlign: "left",
headerSort: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ export default {
let tabulator = new Tabulator(this.$refs.gridContent, {
data: data.data,
height: "100%",
autoResize: false,
layout: "fitDataStretch",
selectableRows: true,
clipboard: "copy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function cellDataModal(p_ht, p_row, p_col, p_content, p_can_alter) {
v_editor.session.setMode("ace/mode/sql");
v_editor.$blockScrolling = Infinity;

v_editor.setFontSize(Number(v_font_size));
v_editor.setFontSize(settingsStore.fontSize);

v_editor.setOptions({enableBasicAutocompletion: true});

Expand Down

0 comments on commit d87af0e

Please sign in to comment.