decrease height of project dialog

snap7
Michael 2022-03-25 17:54:50 +01:00
rodzic c7847bbbf3
commit f8251fa270
2 zmienionych plików z 9 dodań i 3 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
VERSION="2.7.4"
VERSION="2.7.5"
// get debug mode
url = new URL(window.location.href);

Wyświetl plik

@ -549,6 +549,12 @@ ProjectDialogMorph.prototype.buildContents = function () {
});
this.originalBuildContents();
/*
this.preview.setExtent(
new Point(320,240).add(this.preview.edge * 2)
);
*/
this.notesField.setWidth(this.preview.width());
if (this.ide.cloudMsg) {
notification = new TextMorph(
@ -567,9 +573,9 @@ ProjectDialogMorph.prototype.buildContents = function () {
this.srcBar.add(notification);
}
if (notification) {
this.setExtent(new Point(840, 630).add(notification.extent()));
this.setExtent(new Point(840, 590).add(notification.extent()));
} else {
this.setExtent(new Point(840, 630));
this.setExtent(new Point(840, 590));
}
this.fixLayout();
};