face-hh/griddycode

Code Editor Window Resizing Issue

Closed this issue · 2 comments

Describe the bug
The code editor does not auto-adjust its inner content when the window size is changed. When either the length or height of the window is larger than the other, the code editor gets cramped, failing to show consistent sizes of elements regardless of the aspect ratio of the window.

To Reproduce
Steps to reproduce the behavior:

  1. Open the code editor.
  2. Change the window size, making either the length or height larger than the other.
  3. Observe the inner content of the code editor.

Expected behavior
The code editor should auto-adjust its inner content to maintain consistent sizes of elements, regardless of the aspect ratio of the window. The content should not appear cramped when the window size is changed.

Screenshots

image

Desktop:

  • OS: Windows 11
  • Version 1.1.1

Face knows. If you running from godot in the window settings set aspect to keep height

Fixed in 68d5ec4. Will be shipped in v1.2.0