Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4062 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 22
1402
2
thg 12 19
9312
0
thg 11 19
4449
1
thg 7 19
7171
0
thg 7 19
2605