diff --git a/CHANGELOG b/CHANGELOG index fd7beec174..9e31041880 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Improve layout of CSV import/export * Add support for height and width on notebook * Use tab key for tab navigation * Use record and field properties of widget instead of method arguments diff --git a/src/sao.less b/src/sao.less index 289936cc44..02aedf9834 100644 --- a/src/sao.less +++ b/src/sao.less @@ -463,8 +463,9 @@ input.column-boolean { .csv { .modal-dialog { .column-fields { - height: 35vh; - overflow-y: scroll; + max-height: 400px; + overflow: auto; + white-space: nowrap; } } } diff --git a/src/window.js b/src/window.js index fa4cea3979..5241a01870 100644 --- a/src/window.js +++ b/src/window.js @@ -893,7 +893,7 @@ "x-cp1255", "x-cp1256", "x-cp1257", "x-cp1258", "x-euc-jp", "x-gbk", "x-mac-cyrillic", "x-mac-roman", "x-mac-ukrainian", "x-sjis", "x-user-defined", "x-x-big5"]; - this.dialog = new Sao.Dialog(title, 'csv', 'md'); + this.dialog = new Sao.Dialog(title, 'csv', 'lg'); this.el = this.dialog.modal; this.fields = {}; @@ -917,18 +917,21 @@ 'class': 'row' }).appendTo(this.dialog.body); - jQuery('
').appendTo(this.dialog.body); - var column_fields_all = jQuery('
', { - 'class': 'col-md-4 column-fields' - }).append(jQuery('