-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When we implemented the frozen panes, we accidently destroyed the distinction between the actual size of a cell/merge and its visual dimension in the viewport. i.e. the dimension of the part that we be rendered. However, the rest of the rendering process was relying on the box size to compute several things (button , text positions for instance) This means that all computations that relied on the actual size of a cell/merge are now false. A good example is the merge. Create a merge with some text inside of it and make sure it spans over several columns. The text is aligned at the center of the merge. Now scroll a bit and the text will stay centered in the VISIBLE part of the merge but not the merge itself. On another hand, we did not account for some text formatting, specifically text aligned on the right can overflow outside of their pane. This revision fixes the two issues: - Reintroduce a getter `getRect` to properly compute the positiontioning of text/icons of a box - Change the rendering process of the grid by splitting the rendering one pane at a time. Task: 4448426
- Loading branch information
Showing
6 changed files
with
210 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters