Skip to content

Modifying row/col size and being able to move/insert/remove cols/rows #83

@foxnne

Description

@foxnne

@ZackeryRSmith

This was a request to be able to modify the canvas scale, which would mean changing the column width and row height of a file. Currently, files are ensured to be exactly divisible by rows/cols, because files don't store overall width or height. Instead, everything is calculated off of row height and col width, and number of each.

Currently, adding and removing columns can only be done from the bottom right, and rows or columns cannot be inserted or removed from the inner portion of the file.

Screen.Recording.2026-02-06.at.10.33.21.AM.mov

My thoughts would be that since the animations are now a list of indexes rather than a start and length, we can easily handle resizing the grid gracefully, either reassigning the sprite indexes if possible, or simply removing them if they no longer exist.

The trickier part comes with resizing the cell size, and if we want to scale the cell contents if they exist as well. I believe that we do, but we would need to include an option to leave the contents unscaled and centered for if you simply wanted to increase the space around your sprites without resizing them.

So I believe the action items for this one are as follows:

  • Create rulers for the canvas. Top ruler will be A-Z and left ruler will be the rows numerically.
  • Use the above rulers to offer right click menus similar to excel to allow inserting or deleting rows from the center of the image.
  • Allow a menu option to resize the grid cell size of the current file, and if the contents should be scaled as well or not.
  • Ensure that animations are correctly updated to reflect the new grid and finally work that into the History system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions