You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scale Table.GRID_WIDTH by zoom level instead of using fixed pixels
The Table.GRID_WIDTH constant specifies the extra width added to a table
item
when lines between columns are visible (`lineVisible = true`). This
accounts
for the space taken by the grid line. Previously, it was defined as a
fixed
pixel value, which appeared too small on high-DPI monitors.
This change redefines GRID_WIDTH in points and scales it to pixels based
on
the current zoom level. At 100% zoom this results in 2px instead of 1px,
which is visually negligible but ensures consistency by keeping all
constants
defined in points and scaled according to zoom level.
0 commit comments