Skip to content
Snippets Groups Projects
Commit 665ec843 authored by Thomas Lenz's avatar Thomas Lenz
Browse files

Change dialog's width to 800px

parent 39d65823
No related merge requests found
......@@ -117,9 +117,8 @@ export class ContentListComponent implements OnInit {
editChoiceContentDialog(index: number, content: ContentChoice) {
const dialogRef = this.dialog.open(ContentChoiceCreatorComponent, {
width: '400px'
width: '800px'
});
// TODO unterscheidung zwischen single / multiple
if (content.multiple) {
dialogRef.componentInstance.singleChoice = false;
dialogRef.componentInstance.multipleChoice = true;
......@@ -137,7 +136,7 @@ export class ContentListComponent implements OnInit {
editBinaryContentDialog(index: number, content: ContentChoice) {
const dialogRef = this.dialog.open(ContentChoiceCreatorComponent, {
width: '400px'
width: '800px'
});
dialogRef.componentInstance.editDialogMode = true;
dialogRef.componentInstance.multipleChoice = false;
......@@ -151,7 +150,7 @@ export class ContentListComponent implements OnInit {
editLikertContentDialog(index: number, content: ContentChoice) {
const dialogRef = this.dialog.open(ContentLikertCreatorComponent, {
width: '400px'
width: '800px'
});
dialogRef.componentInstance.editDialogMode = true;
dialogRef.componentInstance.content = content;
......@@ -163,7 +162,7 @@ export class ContentListComponent implements OnInit {
editTextContentDialog(index: number, content: ContentText) {
const dialogRef = this.dialog.open(ContentTextCreatorComponent, {
width: '400px'
width: '800px'
});
dialogRef.componentInstance.editDialogMode = true;
dialogRef.componentInstance.content = content;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment