Bram-Hub / LEGUP

Logic Engine for Grid-Using Puzzles - a better way to learn formal logic
GNU General Public License v3.0
33 stars 82 forks source link

[BUG] Resize Board does not work Puzzle Editor #568

Open jac-oblong opened 1 year ago

jac-oblong commented 1 year ago

Description

When initially opening the puzzle editor in non-fullscreen mode, the "resize board" button does not have the expected behavior. Instead of fitting the board to the window, the board changes size and the elements side panel increases greatly.

Before resizing board:

Screenshot_20230809_205219

After resizing board:

Screenshot_20230809_205230

Steps to Reproduce

  1. Ensure that the "fullscreen" preference is NOT checked
  2. Open LEGUP and choose either "Create Puzzle" or "Edit Puzzle"
  3. If creating puzzle, any puzzle will do of any size. The screenshots are from a 15x15 Fillapix puzzle
  4. Without resizing the window, click "Resize Board"`

Expected Behavior

The puzzle should fit in the viewing space, and the "elements" panel should not change size. Ideally, the puzzle editor would open with the puzzle already properly sized.

Screenshots

No response

Puzzle Files

No response

Additional Context

No response