mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
hoho
This commit is contained in:
@@ -30,7 +30,8 @@ enum UIWidgetType {
|
||||
UITypeLabel,
|
||||
UITypeButton,
|
||||
UITypeLineEdit,
|
||||
UITypeWindow
|
||||
UITypeWindow,
|
||||
UITypeList
|
||||
};
|
||||
|
||||
enum FocusReason {
|
||||
|
@@ -30,7 +30,7 @@ void UILabel::loadStyleFromOTML(const OTMLNodePtr& styleNode)
|
||||
|
||||
void UILabel::render()
|
||||
{
|
||||
getFont()->renderText(m_text, getGeometry(), m_align, m_fontColor);
|
||||
m_font->renderText(m_text, m_rect, m_align, m_fontColor);
|
||||
}
|
||||
|
||||
void UILabel::resizeToText()
|
||||
|
Reference in New Issue
Block a user