Skip to content

Commit

Permalink
Fix Dashboard Widget often Hidden by Vertical Scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikerion committed May 2, 2024
1 parent 2b8a0f2 commit db673c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected void layout(Composite composite, boolean flushCache)

Rectangle availableBounds = composite.getBounds();

int widthPerWeight = (availableBounds.width - (children.length * SPACING)) / total;
int widthPerWeight = (availableBounds.width - (children.length * SPACING) - SPACING) / total;

int x = 0;
for (int ii = 0; ii < children.length; ii++)
Expand Down

0 comments on commit db673c7

Please sign in to comment.