make groups resizable
This commit is contained in:
parent
7bf6fb367c
commit
4a990aea9b
1 changed files with 7 additions and 3 deletions
|
@ -112,6 +112,7 @@ $(function() {
|
||||||
ui: {
|
ui: {
|
||||||
columns: ["id", "title", "director", "country", "year", "language", "runtime", "genre"],
|
columns: ["id", "title", "director", "country", "year", "language", "runtime", "genre"],
|
||||||
find: { conditions: [{ key: "", value: "", operator: "" }], operator: "" },
|
find: { conditions: [{ key: "", value: "", operator: "" }], operator: "" },
|
||||||
|
groupsSize: 128,
|
||||||
itemView: "info",
|
itemView: "info",
|
||||||
listsSize: 192,
|
listsSize: 192,
|
||||||
listView: "list",
|
listView: "list",
|
||||||
|
@ -647,9 +648,9 @@ $ui.statusbar = new Ox.Bar({
|
||||||
id: "leftPanel",
|
id: "leftPanel",
|
||||||
orientation: "vertical"
|
orientation: "vertical"
|
||||||
}),
|
}),
|
||||||
size: user.ui.listsSize,
|
|
||||||
resizable: true,
|
resizable: true,
|
||||||
resize: [128, 192, 256]
|
resize: [128, 192, 256],
|
||||||
|
size: user.ui.listsSize
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
element: $ui.rightPanel = new Ox.SplitPanel({
|
element: $ui.rightPanel = new Ox.SplitPanel({
|
||||||
|
@ -662,6 +663,7 @@ $ui.statusbar = new Ox.Bar({
|
||||||
element: $ui.contentPanel = new Ox.SplitPanel({
|
element: $ui.contentPanel = new Ox.SplitPanel({
|
||||||
elements: [
|
elements: [
|
||||||
{
|
{
|
||||||
|
collapsible: true,
|
||||||
element: $ui.groupsOuterPanel = new Ox.SplitPanel({
|
element: $ui.groupsOuterPanel = new Ox.SplitPanel({
|
||||||
elements: [
|
elements: [
|
||||||
{
|
{
|
||||||
|
@ -693,7 +695,9 @@ $ui.statusbar = new Ox.Bar({
|
||||||
],
|
],
|
||||||
orientation: "horizontal"
|
orientation: "horizontal"
|
||||||
}),
|
}),
|
||||||
size: 128
|
resizable: true,
|
||||||
|
resize: [96, 112, 128, 144, 160, 176],
|
||||||
|
size: user.ui.groupsSize
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
element: $ui.list = constructList(user.ui.listView)
|
element: $ui.list = constructList(user.ui.listView)
|
||||||
|
|
Loading…
Reference in a new issue