We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 803ad94 commit 398d18fCopy full SHA for 398d18f
src/textual/widgets/_input.py
@@ -171,7 +171,7 @@ def cursor_width(self) -> int:
171
172
def render(self) -> RenderableType:
173
if not self.value:
174
- placeholder = Text(self.placeholder)
+ placeholder = Text(self.placeholder, justify="left")
175
placeholder.stylize(self.get_component_rich_style("input--placeholder"))
176
if self.has_focus:
177
cursor_style = self.get_component_rich_style("input--cursor")
0 commit comments