You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2019/07/30 07:01:29 UTC
[myfaces-tobago] branch tobago-2.x updated: TOBAGO-2000 - Tobago 2:
SheetRenderer should use configured height for header cell
This is an automated email from the ASF dual-hosted git repository.
weber pushed a commit to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/tobago-2.x by this push:
new 098ccc8 TOBAGO-2000 - Tobago 2: SheetRenderer should use configured height for header cell
098ccc8 is described below
commit 098ccc8f535a493ebce2bd3426a5c69aed03d007
Author: Volker Weber <v....@inexso.de>
AuthorDate: Tue Jul 30 09:01:21 2019 +0200
TOBAGO-2000 - Tobago 2: SheetRenderer should use configured height for header cell
---
.../tobago/renderkit/html/standard/standard/tag/SheetRenderer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java b/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
index 52da741..48477cf 100644
--- a/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
+++ b/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
@@ -815,7 +815,7 @@ public class SheetRenderer extends LayoutComponentRendererBase {
writer.writeClassAttribute(Classes.create(sheet, "headerCell"));
writer.startElement(HtmlElements.SPAN, null);
final Style headerStyle = new Style();
- Measure headerHeight = Measure.valueOf(20).multiply(cell.getRowSpan());
+ Measure headerHeight = getHeaderHeight(facesContext, sheet).multiply(cell.getRowSpan());
if (!pure) {
headerHeight = headerHeight.subtract(6); // XXX todo
}