Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4065 Näkymät

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

Avatar
Hylkää
Tekijä

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.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
huhtik. 22
1404
2
jouluk. 19
9316
0
marrask. 19
4450
1
heinäk. 19
7171
0
heinäk. 19
2605