Fit content pour dialog chronologie/calendrier
Suppression de l'espace perdu
This commit is contained in:
parent
c8526a2270
commit
8d2e7fd0c8
@ -35,7 +35,7 @@ export class DialogChronologie extends Dialog {
|
|||||||
const options = {
|
const options = {
|
||||||
classes: ["DialogChronologie"],
|
classes: ["DialogChronologie"],
|
||||||
width: 500,
|
width: 500,
|
||||||
height: 350,
|
height: 'fit-content',
|
||||||
'z-index': 99999
|
'z-index': 99999
|
||||||
};
|
};
|
||||||
const conf = {
|
const conf = {
|
||||||
|
@ -8,18 +8,19 @@ export class RdDCalendrierEditeur extends Dialog {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
constructor(html, calendrier, calendrierData) {
|
constructor(html, calendrier, calendrierData) {
|
||||||
|
let dialogConf = {
|
||||||
let myButtons = {
|
content: html,
|
||||||
saveButton: { label: "Enregistrer", callback: html => this.fillData() }
|
title: "Editeur de date/heure",
|
||||||
|
buttons: {
|
||||||
|
save: { label: "Enregistrer", callback: html => this.fillData() }
|
||||||
|
},
|
||||||
|
default: "save"
|
||||||
};
|
};
|
||||||
|
let dialogOptions = { classes: ["rdddialog"], width: 400, height: 'fit-content', 'z-index': 99999 }
|
||||||
// Common conf
|
|
||||||
let dialogConf = { content: html, title: "Editeur de date/heure", buttons: myButtons, default: "saveButton" };
|
|
||||||
let dialogOptions = { classes: ["rdddialog"], width: 400, height: 300, 'z-index': 99999 }
|
|
||||||
super(dialogConf, dialogOptions)
|
super(dialogConf, dialogOptions)
|
||||||
|
|
||||||
this.calendrier = calendrier;
|
this.calendrier = calendrier;
|
||||||
this.calendrierData = calendrierData; //duplicate(calendrierData);
|
this.calendrierData = calendrierData;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user