Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4051 Widoki

Hi,

When a warning dialogs are created they are always 300px wide. This is awful. I have tried in the js and css to set the dialog width to auto which works in some cases but not when spawned from a Window.

Where are the warning dialogs generated in js/xml?

Thanks

Awatar
Odrzuć
Autor

The width is determined in web/6.1/addons/web/static/lib/jquery.ui/js/jquery-ui-1.8.17.custom.min.js as 300. Changing this to 600 can help a little but it is still a static value. However there should be some other way of controlling the width of dialogs but this alludes me.

Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 22
1392
2
gru 19
9293
0
lis 19
4439
1
lip 19
7164
0
lip 19
2601