Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4054 มุมมอง

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

อวตาร
ละทิ้ง
ผู้เขียน

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 22
1394
2
ธ.ค. 19
9299
0
พ.ย. 19
4442
Error on Warning in Odoo 12 แก้ไขแล้ว
1
ก.ค. 19
7164
0
ก.ค. 19
2603