From d12c560d8a4714b1dde7e017b33a9ab5539d1128 Mon Sep 17 00:00:00 2001 From: Kalle Pronk Date: Thu, 11 Jan 2024 21:16:04 +0100 Subject: [PATCH] center competence profile --- .../Components/CompetenceProfileComponent.cs | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/Epsilon/Components/CompetenceProfileComponent.cs b/Epsilon/Components/CompetenceProfileComponent.cs index fec0550c..b48b7185 100644 --- a/Epsilon/Components/CompetenceProfileComponent.cs +++ b/Epsilon/Components/CompetenceProfileComponent.cs @@ -70,6 +70,7 @@ private static OpenXmlElement GetTableOneAxis(LearningDomain domain, List(BorderValues.Single), Size = 3, }, @@ -86,7 +87,11 @@ private static OpenXmlElement GetTableOneAxis(LearningDomain domain, List c.Order)) { @@ -105,7 +110,13 @@ private static OpenXmlElement GetTableOneAxis(LearningDomain domain, List(BorderValues.Single), Size = 3, }, @@ -159,7 +171,11 @@ private static OpenXmlElement GetTableTwoAxis(LearningDomain domain, List r.Order)) { - var domainRow = new TableRow() { TableRowProperties = new TableRowProperties(new TableRowHeight() { Val = 500, }), }; + var domainRow = new TableRow() + { + TableRowProperties = new TableRowProperties( + new TableJustification(){Val = TableRowAlignmentValues.Center,}, + new TableRowHeight() { Val = 500, }), + }; domainRow.AppendChild( CreateTableCell(