Explorar el Código

Text transform is turned off for text widgets, they are not compatible

Michael Ragazzon hace 3 años
padre
commit
f380f3dca7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Source/Core/Elements/WidgetTextInput.cpp

+ 1 - 0
Source/Core/Elements/WidgetTextInput.cpp

@@ -70,6 +70,7 @@ WidgetTextInput::WidgetTextInput(ElementFormControl* _parent) : internal_dimensi
 	parent->SetProperty(PropertyId::OverflowY, Property(Style::Overflow::Hidden));
 	parent->SetProperty(PropertyId::Drag, Property(Style::Drag::Drag));
 	parent->SetProperty(PropertyId::WordBreak, Property(Style::WordBreak::BreakWord));
+	parent->SetProperty(PropertyId::TextTransform, Property(Style::TextTransform::None));
 	parent->SetClientArea(Box::CONTENT);
 
 	parent->AddEventListener(EventId::Keydown, this, true);