RELEASE: resizable party sheet

master
U~man 2020-07-15 00:47:28 +02:00
parent c8e09076fd
commit 2490986d54
4 changed files with 12 additions and 10 deletions

View File

@ -1,11 +1,13 @@
export class OsePartySheet extends FormApplication { export class OsePartySheet extends FormApplication {
static get defaultOptions() { static get defaultOptions() {
const options = super.defaultOptions; return mergeObject(super.defaultOptions, {
(options.classes = ["ose", "dialog", "party-sheet"]), classes: ["ose", "dialog", "party-sheet"],
(options.id = "party-sheet"); template: "systems/ose/templates/apps/party-sheet.html",
options.template = "systems/ose/templates/apps/party-sheet.html"; width: 280,
options.width = 280; height: 400,
return options; resizable: true,
});
} }
/* -------------------------------------------- */ /* -------------------------------------------- */

View File

@ -6,9 +6,10 @@
} }
.ose.dialog.party-sheet { .ose.dialog.party-sheet {
min-width: 250px;
min-height: 250px;
.window-content { .window-content {
padding: 0; padding: 0;
height: 400px;
} }
.header { .header {
color: whitesmoke; color: whitesmoke;
@ -19,7 +20,6 @@
.actor-list { .actor-list {
margin: 0; margin: 0;
overflow: auto; overflow: auto;
height: 350px;
list-style: none; list-style: none;
padding: 0; padding: 0;
.actor { .actor {

View File

@ -2,7 +2,7 @@
"name": "ose", "name": "ose",
"title": "Old-School Essentials", "title": "Old-School Essentials",
"description": "Play B/X OSR modules with Old-School Essentials on Foundry VTT", "description": "Play B/X OSR modules with Old-School Essentials on Foundry VTT",
"version": "0.9.1", "version": "0.9.2",
"minimumCoreVersion": "0.6.2", "minimumCoreVersion": "0.6.2",
"compatibleCoreVersion": "0.6.5", "compatibleCoreVersion": "0.6.5",
"templateVersion": 2, "templateVersion": 2,
@ -31,5 +31,5 @@
"gridUnits": "ft", "gridUnits": "ft",
"url": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose", "url": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose",
"manifest": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose/raw/master/src/system.json", "manifest": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose/raw/master/src/system.json",
"download": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose/-/raw/master/package/ose-v0.9.1.zip" "download": "https://gitlab.com/mesfoliesludiques/foundryvtt-ose/-/raw/master/package/ose-v0.9.2.zip"
} }