api browser scrollbar
This commit is contained in:
parent
358c1ecebb
commit
d625114048
1 changed files with 20 additions and 1 deletions
21
docs/api.js
21
docs/api.js
|
@ -33,10 +33,28 @@ $(function() {
|
||||||
app.$ui.actionList = constructList();
|
app.$ui.actionList = constructList();
|
||||||
app.$ui.actionInfo = Ox.Container().css({padding: '8px'}).html('select action on the left.');
|
app.$ui.actionInfo = Ox.Container().css({padding: '8px'}).html('select action on the left.');
|
||||||
|
|
||||||
|
var $left = new Ox.SplitPanel({
|
||||||
|
elements: [
|
||||||
|
{
|
||||||
|
element: new Ox.Element().append(new Ox.Element().html('oxjs API').css({
|
||||||
|
'padding': '4px',
|
||||||
|
})).css({
|
||||||
|
'background-color': '#ddd',
|
||||||
|
'font-weight': 'bold',
|
||||||
|
}),
|
||||||
|
size: 24
|
||||||
|
},
|
||||||
|
{
|
||||||
|
element: app.$ui.actionList
|
||||||
|
}
|
||||||
|
],
|
||||||
|
orientation: 'vertical'
|
||||||
|
});
|
||||||
|
|
||||||
var $main = new Ox.SplitPanel({
|
var $main = new Ox.SplitPanel({
|
||||||
elements: [
|
elements: [
|
||||||
{
|
{
|
||||||
element: app.$ui.actionList,
|
element: $left,
|
||||||
size: 160
|
size: 160
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -80,6 +98,7 @@ function constructList() {
|
||||||
Ox.print("items", items);
|
Ox.print("items", items);
|
||||||
callback(result);
|
callback(result);
|
||||||
},
|
},
|
||||||
|
scrollbarVisible: true,
|
||||||
sort: [
|
sort: [
|
||||||
{
|
{
|
||||||
key: "name",
|
key: "name",
|
||||||
|
|
Loading…
Reference in a new issue