From 5dc085548947984fde41a48046ddc805162c0a27 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Sun, 20 Mar 2022 13:07:53 +0330 Subject: [PATCH] Spreadsheet: Use the correct top-center alignment when set to Top+Center --- Userland/Applications/Spreadsheet/CellTypeDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/Spreadsheet/CellTypeDialog.cpp b/Userland/Applications/Spreadsheet/CellTypeDialog.cpp index 97112f16a4..5775900eaf 100644 --- a/Userland/Applications/Spreadsheet/CellTypeDialog.cpp +++ b/Userland/Applications/Spreadsheet/CellTypeDialog.cpp @@ -350,7 +350,7 @@ CellTypeMetadata CellTypeDialog::metadata() const metadata.alignment = Gfx::TextAlignment::TopLeft; break; case HorizontalAlignment::Center: - metadata.alignment = Gfx::TextAlignment::Center; // TopCenter? + metadata.alignment = Gfx::TextAlignment::TopCenter; break; case HorizontalAlignment::Right: metadata.alignment = Gfx::TextAlignment::TopRight;