fix: wrap Tabular in VBox with cheight for proper scrolling

This commit is contained in:
yumoqing 2026-05-29 22:10:02 +08:00
parent 9f9a60a732
commit 529025a5f4
11 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,8 @@
Metadata-Version: 2.4
Name: xls2ddl
Version: 1.1.3
Summary: a xlsx file to database ddl converter
Author: "yu moqing"
Author-email: "yumoqing@gmail.com"
License: "MIT"
Requires-Dist: apppublic

View File

@ -0,0 +1,18 @@
README.md
pyproject.toml
setup.cfg
xls2ddl/__init__.py
xls2ddl/json2ddl.py
xls2ddl/json2xlsx.py
xls2ddl/singletree.py
xls2ddl/tmpls.py
xls2ddl/xls2crud.py
xls2ddl/xls2ddl.py
xls2ddl/xls2ui.py
xls2ddl/xlsxData.py
xls2ddl.egg-info/PKG-INFO
xls2ddl.egg-info/SOURCES.txt
xls2ddl.egg-info/dependency_links.txt
xls2ddl.egg-info/entry_points.txt
xls2ddl.egg-info/requires.txt
xls2ddl.egg-info/top_level.txt

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,5 @@
[console_scripts]
json2ddl = xls2ddl.json2ddl:main
json2xlsx = xls2ddl.json2xlsx:main
xls2ddl = xls2ddl.xls2ddl:main
xls2ui = xls2ddl.xls2ui:main

View File

@ -0,0 +1 @@
apppublic

View File

@ -0,0 +1 @@
xls2ddl

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,8 @@
data_browser_tmpl = """ data_browser_tmpl = """
{ {
"widgettype":"VBox",
"options":{"cheight":40,"width":"100%"},
"subwidgets":[{
"id":"{{tblname}}_tbl", "id":"{{tblname}}_tbl",
"widgettype":"Tabular", "widgettype":"Tabular",
"options":{ "options":{
@ -90,6 +93,7 @@ data_browser_tmpl = """
{% if bindsstr %} {% if bindsstr %}
,"binds":{{bindsstr}} ,"binds":{{bindsstr}}
{% endif %} {% endif %}
}]
} }
""" """
get_data_tmpl = """ get_data_tmpl = """