Textualize / textual

The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
https://textual.textualize.io/
MIT License
24.07k stars 741 forks source link

Allow mouse-resizable Grid/Vertical/Horizontal with click-hold-drag-release type of resizing #4676

Closed arcivanov closed 3 days ago

arcivanov commented 6 days ago
  1. Left-click, hold and drag on a border of a container widget.
  2. If the container permits resizing the border(s) start repainting/resizing, following the mouse cursor.
  3. Once the left mouse button is released the containers are resized based on the final cursor location.

I would propose a style that controls whether a certain edge is resizable similar to how border properties are currently specified (e.g. "border-resizable", "border-resizable-top" etc). Alternatively, additional parameter can be added to the border , i.e. border: <border> <color> <percentage> <resizable>;.

github-actions[bot] commented 6 days ago

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory