Skip to content

Commit aa5bc56

Browse files
authored
Merge pull request #71 from QtExcel/dev79
Pull Request 70
2 parents 7584bc7 + 65de2be commit aa5bc56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

QXlsx/source/xlsxworksheet.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,7 @@ bool Worksheet::writeHyperlink(int row, int column, const QUrl &url, const Forma
10271027
Format fmt = format.isValid() ? format : d->cellFormat(row, column);
10281028
//Given a default style for hyperlink
10291029
if (!fmt.isValid()) {
1030+
fmt.setVerticalAlignment(Format::AlignVCenter);
10301031
fmt.setFontColor(Qt::blue);
10311032
fmt.setFontUnderline(Format::FontUnderlineSingle);
10321033
}

0 commit comments

Comments
 (0)