diff --git a/plugin/src/App/Components/TextInput.lua b/plugin/src/App/Components/TextInput.lua index fd80a9e0..5cf83f3f 100644 --- a/plugin/src/App/Components/TextInput.lua +++ b/plugin/src/App/Components/TextInput.lua @@ -92,6 +92,7 @@ function TextInput:render() textInputTheme.Enabled.PlaceholderColor ), TextSize = theme.TextSize.Large, + TextXAlignment = self.props.textXAlignment or Enum.TextXAlignment.Center, TextEditable = self.props.enabled, ClearTextOnFocus = self.props.clearTextOnFocus, @@ -118,6 +119,11 @@ function TextInput:render() self.props.onChanged(rbx.Text) end end, + }, { + Padding = e("UIPadding", { + PaddingLeft = UDim.new(0, 6), + PaddingRight = UDim.new(0, 6), + }), }), Children = Roact.createFragment(self.props[Roact.Children]), }) diff --git a/plugin/src/App/StatusPages/Confirming.lua b/plugin/src/App/StatusPages/Confirming.lua index 8d88cdf0..06277de3 100644 --- a/plugin/src/App/StatusPages/Confirming.lua +++ b/plugin/src/App/StatusPages/Confirming.lua @@ -145,8 +145,9 @@ function ConfirmingPage:render() placeholder = "Filter", enabled = true, transparency = self.props.transparency, - size = UDim2.new(0.5, -5, 1, 0), - position = UDim2.new(0.5, 5, 0, 0), + textXAlignment = Enum.TextXAlignment.Left, + size = UDim2.new(0.25, -5, 1, 0), + position = UDim2.new(0.75, 5, 0, 0), onChanged = function(text) self:setState({ filterText = text }) end,