Q-Dialog: Set custom size (width, height)?
-
Hello!
Tell me please.
How can a Q-Dialog set a fixed size (width and height). If you use <Q-Dialog style = “height: 300px; width: 800px”>, then you cannot set the desired width, it is limited by default, like 600px, but you need to install more, say, 1000px.
Moreover, if q-image is placed in the Q-Dialog, it expands itself. -
@9223000 use it inside the content of your q-dialog https://codepen.io/metalsadman/pen/yWKQEo, styled the width and height of the q-card inside it.
-
The problem is that style = “width: 1000px” does not work, it is such an impression that the Q-Dialog is limited to the width of 600 px by default
-
@9223000 set both width and max-width like so
style="width:1000px;max-width="1500"
. updated the pen https://codepen.io/metalsadman/pen/yWKQEo. p.s. browser inspect can help you with this. -
Very cool! Thanks!