Browse Source

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

Michael Ragazzon 3 years ago
parent
commit
f380f3dca7
1 changed files with 1 additions and 0 deletions
  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::OverflowY, Property(Style::Overflow::Hidden));
 	parent->SetProperty(PropertyId::Drag, Property(Style::Drag::Drag));
 	parent->SetProperty(PropertyId::Drag, Property(Style::Drag::Drag));
 	parent->SetProperty(PropertyId::WordBreak, Property(Style::WordBreak::BreakWord));
 	parent->SetProperty(PropertyId::WordBreak, Property(Style::WordBreak::BreakWord));
+	parent->SetProperty(PropertyId::TextTransform, Property(Style::TextTransform::None));
 	parent->SetClientArea(Box::CONTENT);
 	parent->SetClientArea(Box::CONTENT);
 
 
 	parent->AddEventListener(EventId::Keydown, this, true);
 	parent->AddEventListener(EventId::Keydown, this, true);