Skip to content
Snippets Groups Projects
Commit f54415de authored by felmer's avatar felmer
Browse files

BIS-154: Add grey section line. Allow to extend property table to the whole width.

SVN: 26487
parent bf65f2ce
No related branches found
No related tags found
No related merge requests found
...@@ -191,6 +191,7 @@ public final class PropertyGrid extends Grid ...@@ -191,6 +191,7 @@ public final class PropertyGrid extends Grid
Element element = getCellFormatter().getElement(row, 0); Element element = getCellFormatter().getElement(row, 0);
element.setAttribute("colspan", "2"); element.setAttribute("colspan", "2");
element.setAttribute("class", "properties-sub-section"); element.setAttribute("class", "properties-sub-section");
getCellFormatter().getElement(row, 1).setAttribute("style", "display: none");
addPropertiesToTable(props, row + 1); addPropertiesToTable(props, row + 1);
} }
......
...@@ -82,10 +82,11 @@ body,div,td,.default-text { ...@@ -82,10 +82,11 @@ body,div,td,.default-text {
.property-grid { .property-grid {
table-layout: fixed; table-layout: fixed;
border-collapse: collapse; border-collapse: collapse;
width: 100%;
} }
.property-grid td { .property-grid td {
border: 1px solid #ffffff; border-top: 1px solid #ffffff;
padding: 3px 5px 3px 5px; padding: 3px 5px 3px 5px;
vertical-align: top; vertical-align: top;
} }
...@@ -95,8 +96,9 @@ body,div,td,.default-text { ...@@ -95,8 +96,9 @@ body,div,td,.default-text {
background-color: #dddddd; background-color: #dddddd;
} }
.properties-sub-section { td.properties-sub-section {
background-color: #fff; background-color: #fff;
border-top: 1px solid grey;
font-weight: normal; font-weight: normal;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment