Reputation: 15960
I am trying to increase the height and width of the dialog box shown in the below example trying to find, is that controlled by css or any properties of this dialog box https://stackblitz.com/angular/pakbybeedmp?file=src%2Fapp%2Fdialog-data-example.ts
I am using Angular 8 for the same I tried updating the matdialogconfig parameters, I am not able to see the reflection of parameters on Dialog box
Any suggestion please
Upvotes: 0
Views: 299
Reputation: 2593
When opening the dialog, you can specify height and width:
this.dialog.open(DialogDataExampleDialog, {
height: "500px",
width: "500px",
data: {
animal: "panda"
}
});
see stackblitz
Upvotes: 2