Skip to content

Commit 65de2be

Browse files
authored
Merge pull request #70 from Aries1989/master
Thank for reporting. I merged into the [dev79](https://github.com/QtExcel/QXlsx/tree/dev79) branch. I will later merge the dev79 branch into the master branch.
2 parents 7584bc7 + d29a128 commit 65de2be

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)