Skip to content

Commit

Permalink
General improve on webGL view
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Aug 19, 2024
1 parent c094a8a commit 4188a55
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plm/views/ir_attachment_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
icon="fa-bars"/>
<button name="open_related_document_revisions"
type="object"
string="BOM Rev."
string="N.Rev."
class="oe_stat_button"
icon="fa-tasks"
invisible="engineering_revision_count &lt;=1">
Expand Down
9 changes: 8 additions & 1 deletion plm_web_3d/static/src/css/OdooCADApplication.css
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,14 @@ div.info_header{
#click_show:hover{
background-color:gray;
}

#tree_structure{
margin-left: auto;
margin-right: auto;
overflow-y: scroll;
overflow-x: hidden;
width: 100%;
height: 500px;
}
li.attribute_info{
text-align: left;
}
Expand Down
2 changes: 1 addition & 1 deletion plm_web_3d/static/src/js/lib/odoocad/odoocad.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class OdooCAD{
//
create_relation_structure(object){
var self = this;
var html_out = "<div class='tree_structure'>";
var html_out = "<div class='tree_structure' style='overflow-y: scroll;min-height: 1px;max-height: 400px;'>";
for (let i = 0; i < object.children.length; i++) {
if (object.children[i].type=='Group'){
const [inner_html, _children] = self.get_li_structure(object.children[i]);
Expand Down

0 comments on commit 4188a55

Please sign in to comment.