fix: bugs on new GUI API
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good

This commit is contained in:
DanyLE
2023-07-14 12:05:12 +02:00
parent 4d03eff031
commit 3b14ff5b9f
40 changed files with 72 additions and 39 deletions

View File

@ -1,6 +1,6 @@
<afx-app-window data-id="example-show-case" apptitle="AntOS GUI widgets" width="650" height="500">
<afx-app-window data-id="example-show-case" apptitle="AntOS GUI widgets" width="650" height="500" responsive="true">
<afx-vbox>
<afx-tab-container data-id="tabctn" dir = "column" tabbarwidth= "100" tabbarheight = "40">
<afx-tab-container data-id="tabctn" dir = "column" tabbarwidth= "200" tabbarheight = "40">
<afx-hbox tabname="Widgets">
<afx-vbox data-width="150">
@ -19,7 +19,7 @@
</afx-hbox>
<afx-resizer data-height="5" ></afx-resizer>
<afx-hbox>
<afx-list-view data-id="list" dropdown="false" multiselect="true" dir="horizontal" ></afx-list-view>
<afx-list-view data-id="list" dropdown="false" multiselect="true" dir="row" ></afx-list-view>
</afx-hbox>
<afx-hbox data-height="150">
<afx-grid-view data-id="grid" multiselect="false" ></afx-grid-view>

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
"email": "xsang.le@gmail.com",
"licences": "GPLv3"
},
"version":"0.0.7-a",
"version":"0.0.8-a",
"category":"Utility",
"mimes":["none"],
"iconclass": "fa fa-delicious",

View File

@ -1,6 +1,6 @@
<afx-app-window data-id="example-show-case" apptitle="AntOS GUI widgets" width="650" height="500">
<afx-app-window data-id="example-show-case" apptitle="AntOS GUI widgets" width="650" height="500" responsive="true">
<afx-vbox>
<afx-tab-container data-id="tabctn" dir = "column" tabbarwidth= "100" tabbarheight = "40">
<afx-tab-container data-id="tabctn" dir = "column" tabbarwidth= "200" tabbarheight = "40">
<afx-hbox tabname="Widgets">
<afx-vbox data-width="150">
@ -19,7 +19,7 @@
</afx-hbox>
<afx-resizer data-height="5" ></afx-resizer>
<afx-hbox>
<afx-list-view data-id="list" dropdown="false" multiselect="true" dir="horizontal" ></afx-list-view>
<afx-list-view data-id="list" dropdown="false" multiselect="true" dir="row" ></afx-list-view>
</afx-hbox>
<afx-hbox data-height="150">
<afx-grid-view data-id="grid" multiselect="false" ></afx-grid-view>

Binary file not shown.

View File

@ -143,6 +143,12 @@ class ShowCase extends this.OS.application.BaseApplication
{ text: "Multi-input dialog", id: "minputs" },
{ text: "Multi key value dialog", id: "mkv" }
]
@morphon Ant.OS.GUI.RESPONSIVE.MEDIUM, (fulfilled) =>
if fulfilled
this.find("tabctn").dir = "row"
else
this.find("tabctn").dir = "column"
btrun.onbtclick = (e) =>
item = dllist.selectedItem

View File

@ -7,7 +7,7 @@
"email": "xsang.le@gmail.com",
"licences": "GPLv3"
},
"version":"0.0.7-a",
"version":"0.0.8-a",
"category":"Utility",
"mimes":["none"],
"iconclass": "fa fa-delicious",