Skip to content

Suggestions to add to documentation #7

@acorazza

Description

@acorazza

I didn't quite understand the [X,Y,w,h] coordinates at first, so I thought I'd write an explanation simple enough that even I could understand it. Feel free to use it or modify it!

Grids can be written in two different ways: using the number of grid divisions (such as 4x2 for a grid that is 4 divisions wide by 2 divisions tall), or using a system of [X,Y,Width,Height]. The X and Y coordinates are a percentage of screen width and height that indicate the position of the top left corner of that division, and the Width and Height are a percentage of screen width extending to the right and height extending downward. You may create multiple divisions by separating them with a + sign. For example, 0,0,75,100+25,0,75,100+25,0,50,100 has three divisions:

0,0,75,100 starts at 0,0 (the top left corner of the monitor). It covers 75% of the monitor's width, and 100% of its height (basically, the left 3/4 of the screen).

25,0,75,100 starts at 25,0 (25% away from the monitor's left edge, and at the top of the screen). Like the previous division, it also covers 75% of the monitor's width and 100% of its height, but that 25% offset combined with its 75% width makes it aligned with the right edge of the screen instead of the left. Since this division and the previous one both cover 75% of the screen's width, they will overlap.

25,0,50,100 starts at 25,0 like the previous example and is also 100% of the screen's height, but only covers 50% of the width. The 50% width combined with the 25% offset means this division is centered in the middle of the monitor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions