Crop to the frame with two checkboxes instead of switches #31

Merged
eliott merged 1 commit from feat/crop-checkboxes into main 2026-11-20 00:03:21 +01:00
Owner

The two choices under Crop to the frame in the Convert tab, On the screen and In the saved file, are ordinary checkboxes now instead of switches.

How it works

  • They use the .check style that was already in the stylesheet, with the box on the left of its label, and a greyed-out look when disabled. The switch styles are gone: nothing else used them.
  • The hint under the picture and docs/negative-conversion.md say "untick" instead of "switch off".

Tested

  • cargo test: 293 passed.
  • The Convert tab in Chromium: both checkboxes shown, "On the screen" greyed out until a frame is drawn.

Not tested

  • The app's own window (WebKit) on Windows and macOS.

Changes in behaviour

  • Crop to the frame shows two checkboxes instead of two switches. They do the same as before.
The two choices under **Crop to the frame** in the Convert tab, **On the screen** and **In the saved file**, are ordinary checkboxes now instead of switches. ## How it works - They use the `.check` style that was already in the stylesheet, with the box on the left of its label, and a greyed-out look when disabled. The switch styles are gone: nothing else used them. - The hint under the picture and `docs/negative-conversion.md` say "untick" instead of "switch off". ## Tested - `cargo test`: 293 passed. - The Convert tab in Chromium: both checkboxes shown, "On the screen" greyed out until a frame is drawn. ## Not tested - The app's own window (WebKit) on Windows and macOS. ## Changes in behaviour - Crop to the frame shows two checkboxes instead of two switches. They do the same as before.
eliott merged commit b6005a743f into main 2026-11-20 00:03:21 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
RollNote/rollscan!31
No description provided.