Fix 51fd2853cb: Different news widget layouts require different font sizes. (#13752)

This commit is contained in:
2025-03-08 12:00:56 +00:00
committed by GitHub
parent a154df6549
commit f8478cdee4
2 changed files with 14 additions and 3 deletions

View File

@@ -383,6 +383,9 @@ public:
inline void SetDisabled(bool disabled);
inline bool IsDisabled() const;
inline TextColour GetTextColour() const { return this->text_colour; }
inline FontSize GetFontSize() const { return this->text_size; }
void FillWidgetLookup(WidgetLookup &widget_lookup) override;
NWidgetCore *GetWidgetFromPos(int x, int y) override;
bool IsHighlighted() const override;