odoo tree view to achieve horizontal scrollbar

First, use the background

  When displaying too much content tree view, would make the list as crowded bunch, style becomes difficult to see, this time on the need to increase the scroll bar

Second, to achieve results

  When the content exceeds the width, horizontal scrollbar appears

 

Third, the implementation method

  The following code is added to the file views.less in odoo10 the path: web / static / src / less / views.less

 

Guess you like

Origin www.cnblogs.com/da-tong/p/11423191.html