-
Notifications
You must be signed in to change notification settings - Fork 3
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
Snap to #228
Comments
See discussion #224 (comment) |
To update this for multiple Controllers we need 2 extra rules: 4 - If controllers share borders, they will be considered as a single controller, in respect to the previous rules. 5 - If rules 3 and 4 are applied, the dimension change will be splitted across these controllers. The practical example would be having Controllers stacked vertically in 2 rows, across the full height. Use case example: |
Yup.
What about if I move a controller which has other controllers snapped to
it? I think they move together? But then there needs to be a way to
separate them...
…On Tue, 29 Oct 2024 at 11:26, JorgeR81 ***@***.***> wrote:
1 - If a Controller border touches a canvas border, it will always do so,
unless the user changes this ( by dragging it or resizing it )
2 - The position for the Controller will be changed, when needed, to to
follow rule 1
3 - If changing the position is not enough to fulfill rule 1, dimensions
will be changed.
This last one is in case the Controller has full height ( if 2 opposite
canvas borders are touched by the controller ).
To fulfill rule 1, then you need to increase height.
------------------------------
To update this for multiple Controllers we need 2 extra rules:
4 - If controllers share borders, they will be considered as a single
controller, in respect to the previous rules.
5 - If rules 3 and 4 are applied, the dimension change will be splitted
across these controllers.
The practical example would be having Controllers stacked vertically in 2
rows, across the full height.
If I go fullscreen I would want both rows to increase proportionally.
Use case example:
( I would use this configuration to optimize space, because slider panels
require less width )
panels.jpg (view on web)
<https://github.com/user-attachments/assets/cce1cdbe-1a09-40f7-8617-a3998ccc3d46>
—
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBLMA2HCCF5HGQICUJOKEDZ53B23AVCNFSM6AAAAABQYRPA5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSHEZDEMRYHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
yes, that's a neat solution.
…On Tue, 29 Oct 2024 at 12:03, JorgeR81 ***@***.***> wrote:
Think through whether 'stuck' controllers should move together.
What about if I move a controller which has other controllers snapped to
it? I think they move together? But then there needs to be a way to
separate them...
------------------------------
-
To drag multiple windows snapped together, I would drag the window on
the top / left.
-
To split them apart, I would drag one of the other windows.
—
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBLMA23HN775MIAOSDY5JTZ53GENAVCNFSM6AAAAABQYRPA5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSHE2TMMRVHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
What about size? I'm assuming that two controllers stuck together will be independantly resizable. But I'm not sure if that's right for resizing perpendicular to the 'stick' direction (ie width of vertically stacked, height of horizontally stacked) |
I think this will need some clear visual hint that windows are snapped together! |
The red internal resizing should not affect the blue one, but if you grab the blue border you should resize both sliders (proportionally?) and image preview at the same time. |
If we make it clear, in the documentation, that we have a snapping feature, I think the users would just assume that adjacent windows forming rectangle, are snapped, While moving or resizing the whole rectangular shape, we could show a highlight around it. To resize internal borders ( while keeping the overall dimensions ), we have a highlight line in between the window borders.
When we click and drag to split windows appart, we just highlight the window we are moving. |
What about this effect when resizing windows? |
Looks good ! |
Controller window snaps to edges of the window or other controller windows.
This is 'sticky' - repositioning due to changing window size should retain 'stick' wherever possible.
Think through whether 'stuck' controllers should move together.
The text was updated successfully, but these errors were encountered: