profoundjs
Version:
Profound.js Framework and Server
70 lines (57 loc) • 1.78 kB
JavaScript
pui.cnv.themes.add({
"name": "Standard",
"css class prefix": "",
"default locale": "en_US",
"left offset": 120,
"top offset": 0,
"column width": 8,
"row height": 20,
"extra textbox width": 4,
"default font family": "Consolas,Monospace",
"button type": "button",
"button width": 100,
"button css class": "button",
"horizontal button spacing": 20,
"vertical button spacing": 10,
"buttons per row": 1,
"add submit button": true,
"buttons start at the top": true,
"show fkey name": false,
"show fkey text": true,
"page down text": "Next Page",
"page up text": "Previous Page",
"allow field exit": false,
"grid": {
"properties": {
"header height": "20",
"row height": "20",
"css class": "crystal-grid"
},
"top offset": 1,
"left offset": 5,
"extra width": 35,
"header rows": 0, // can be a numeric value or "auto"
"merge headings": false,
"set heading font": false,
"show options as dropdown": false,
"single row zoom": true
},
"remove option labels": true,
"remove fkey labels": true,
// User-defined edit codes (5-9) are loaded from userEditCodes.json in the
// profoundjs directory. That file is the single source of truth — edit it there.
"user edit codes": (typeof profound !== "undefined" && profound.settings && profound.settings.userEditCodes) || {},
"windows": {
"panel style": "Classic Dialog",
"title text align": "left",
"top offset": 30,
"bottom offset": 65,
"left offset": 15,
"right offset": 15,
"button offset": -40,
"button width": 80,
"horizontal button spacing": 10,
"vertical button spacing": 10,
"buttons per row": "auto" // determined automatically based on the width of the window
}
});