jawa0 / aish3

AI LLM Agent with memories
Apache License 2.0
3 stars 1 forks source link

Make TextArea resizable #29

Open jawa0 opened 1 year ago

jawa0 commented 1 year ago

When using TextAreas as notes at top-level, I want to be able to resize them

jawa0 commented 3 months ago

Implement left-click and drag to resize the textarea. Target to start resize drag is the border or corner of the textarea, with 1 pixel leeway on the outside. dragging left or right edge resizes horizontally. Dragging top or bottom edge resizes vertically. Dragging corners does both at once. @mentatbot

mentatbot[bot] commented 3 months ago

I will start working on this issue

jawa0 commented 3 months ago

The merged change works when dragging the right or bottom edges, but does not work correctly for the top and left edges. When dragging these edges, you'll have to change the position of the object. But, be aware of the code in GUIContainer and GUIControl and how it might respond. Currently when dragging the left edge to the left, the TextArea moves to the left beyond where my drag is. Similarly for dragging up. @MentatBot

mentatbot[bot] commented 3 months ago

I will address the issues with resizing from the top and left edges, taking into account the behavior of GUIContainer and GUIControl.