Certain views/cards scale with text when added, but moving them scales them to default size #374
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K#374
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is the card when added:


When clicked once in edit mode
The card showing way to much information is also a bug, but this is related to how the cards scale
The reason for this bug is that there is no onLayoutChange function (to change the card position and size variables) for the grid layout, so the issue is that when a card is moved, its w and h variables are set to the values it was created with (1 and 2). When the card is moved, it is re-rendered with these values, hence why large cards shrink. The onLayoutChange is implemented in #398 to update the size and position.
This creates a new issue where new cards start with the standard variables. To fix this issue, new cards should scale with it's content. Therefore i suggest closing this issue and opening a new one.
The "new" issue might be fixed in pull request #410 , so there may not be any need for a new issue for this.
Closed by accident