Increase card size on click #269

Open
opened 2026-04-13 17:56:32 +00:00 by a24vinla · 3 comments
Collaborator

We need a way to either increase the size of a card in the grid or show a new window with the view when clicking the card/a button in the card. This has two sub-issues: #270 and #271

We need a way to either increase the size of a card in the grid or show a new window with the view when clicking the card/a button in the card. This has two sub-issues: #270 and #271
Author
Collaborator

This will serve more as a proof of concept

This will serve more as a proof of concept
Collaborator

#270

image

This works for me. I had some troubles because when I tried resizing a card with the symbol in the corner, it counted as a click, which made it so each time I resized a card using that mechanic, it went back because it's h and w were now larger than 1 and 3...

I fixed this by using onDoubleClick instead of onClick, so you have to double click for it to enlarge if that's okay. I included a video showing the results on the web with the current settings.

#270 ![image](/attachments/644d8feb-5e8e-40b3-98b3-6bbb82b66556) This works for me. I had some troubles because when I tried resizing a card with the symbol in the corner, it counted as a click, which made it so each time I resized a card using that mechanic, it went back because it's **h** and **w** were now larger than 1 and 3... I fixed this by using **onDoubleClick** instead of **onClick**, so you have to double click for it to enlarge if that's okay. I included a video showing the results on the web with the current settings.
Author
Collaborator

Looks really good! Also really like that it uses double click instead of on click, should prevent users accidentally scaling cards.

Looks really good! Also really like that it uses double click instead of on click, should prevent users accidentally scaling cards.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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
Andras/BoundlessFlowCampus2K#269
No description provided.