1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:27:35 +00:00

Spreadsheet: Use the correct top-center alignment when set to Top+Center

This commit is contained in:
Ali Mohammad Pur 2022-03-20 13:07:53 +03:30 committed by Linus Groh
parent 292e459901
commit 5dc0855489

View file

@ -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;