hoho
This commit is contained in:
parent
92b54b6f55
commit
a5b41f77ea
|
@ -120,6 +120,7 @@ SET(SOURCES
|
|||
src/framework/ui/uiwindow.cpp
|
||||
src/framework/ui/uianchorlayout.cpp
|
||||
src/framework/ui/uianchor.cpp
|
||||
src/framework/ui/uilist.cpp
|
||||
)
|
||||
|
||||
IF(WIN32)
|
||||
|
|
|
@ -10,3 +10,6 @@ RoundedPanel < Panel
|
|||
border-image:
|
||||
source: /core_ui/images/panel_rounded.png
|
||||
border: 4
|
||||
|
||||
RectPanel < UIWidget
|
||||
image: /core_ui/images/emptyrect.png
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue