Skip to content

Commit

Permalink
change font size and singleaxistable row height
Browse files Browse the repository at this point in the history
  • Loading branch information
kallepronk committed Jan 9, 2024
1 parent 0a54dfb commit afa3aa8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Epsilon/Components/CompetenceProfileComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private OpenXmlElement GetTableOneAxis(LearningDomain domain, List<LearningDomai
new Paragraph(
new Run(
new Text(row.Name)
){RunProperties = new RunProperties(){FontSize = new FontSize(){Val = "10",},},}
){RunProperties = new RunProperties(){FontSize = new FontSize(){Val = "14",},},}
)
);

Expand All @@ -110,7 +110,7 @@ private OpenXmlElement GetTableOneAxis(LearningDomain domain, List<LearningDomai
var domainRow = new TableRow();


domainRow.Append(new TableRowHeight(){Val = 500,});
domainRow.Append(new TableRowHeight(){Val = 2600,});

foreach (var row in domain.RowsSet.Types.OrderBy(static c => c.Order))
{
Expand Down Expand Up @@ -183,7 +183,7 @@ private OpenXmlElement GetTableTwoAxis(LearningDomain domain, List<LearningDomai
new Paragraph(
new Run(
new Text(col.Name)
){RunProperties = new RunProperties(){FontSize = new FontSize(){Val = "10",},},}
){RunProperties = new RunProperties(){FontSize = new FontSize(){Val = "14",},},}
)
);

Expand All @@ -203,7 +203,11 @@ private OpenXmlElement GetTableTwoAxis(LearningDomain domain, List<LearningDomai
CreateTableCell(
"1000",
_borderedTableCellBorders,
new Paragraph(new Run(new Text(row.Name)))));
new Paragraph(
new Run(
new Text(row.Name)
){RunProperties = new RunProperties(){FontSize = new FontSize(){Val = "14",},},}
)));

foreach (var col in domain.ColumnsSet.Types.OrderBy(static c => c.Order))
{
Expand Down

0 comments on commit afa3aa8

Please sign in to comment.