Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: xy-position for each module #352

Open
EinKantHolz opened this issue Jun 27, 2024 · 1 comment
Open

[FEATURE]: xy-position for each module #352

EinKantHolz opened this issue Jun 27, 2024 · 1 comment
Assignees
Labels
new feature request For possible new features

Comments

@EinKantHolz
Copy link

Is your feature request related to a problem? Please describe.
no

Describe the solution you'd like
Like "size": [492,554], there should be an option to place the modules on specific coordinates.
e.g. "pos":[482,560] or similar.

If one have a bigger screen with - lets say - 1000 px width and 1000 px length, one can set the size of the first module to 460 x 500 (w x l) and place it at 0|0. The second module is sized 540 x 450 (w x l) and placed at coordinates 460|25 (vertically centered to the first module).

Therefore, each module needs an origin. I would suggest the upper left corner.
At the same time, overlapping must be prevented. One solution could be the "position" in the settings. Higher value means higher z-level, means in front of lower position-values.

@aceisace aceisace changed the title [FEATURE]: Position [FEATURE]: xy-position for each module Jul 1, 2024
@aceisace
Copy link
Member

aceisace commented Jul 1, 2024

@EinKantHolz Hi there and thanks for your feature request.
This is currently a limitation with Inkycal and I think this can be implemented, though it will take some time due to some refactoring.
This has to be implemented in steps to ensure backward-compatibility:

  • Allow setting absolute height for each module by offering a mode (absolute, relative, percentage)
  • Adding some sort of spacer to allow more flexible vertical alignment

Concerning vertical positioning, this is a feature for the next release. For the next release, modules will be representing widgets, which are offered in different sizes with different heights and widths, allowing multiple modules vertically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature request For possible new features
Projects
None yet
Development

No branches or pull requests

2 participants