Codechange: replace internal SetDataTips with appropriate variants

This commit is contained in:
Rubidium
2025-01-02 11:49:59 +01:00
committed by rubidium42
parent 176eabf9b2
commit 3196e0709d
5 changed files with 7 additions and 7 deletions

View File

@@ -2668,7 +2668,7 @@ NWidgetLeaf::NWidgetLeaf(WidgetType tp, Colours colour, WidgetID index, uint32_t
this->SetResize(1, 0);
this->SetMinimalSize(0, WidgetDimensions::WD_CAPTION_HEIGHT);
this->SetMinimalTextLines(1, WidgetDimensions::unscaled.captiontext.Vertical(), FS_NORMAL);
this->SetDataTip(data, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS);
this->SetToolTip(STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS);
break;
case WWT_STICKYBOX: