Skip to content

Commit

Permalink
Fix grid padding being 2 times smaller than it should be
Browse files Browse the repository at this point in the history
  • Loading branch information
benjdero committed Jun 6, 2018
1 parent 27670e4 commit 8763ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es-core/src/components/GridTileComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void GridTileComponent::resize()
{
const GridTileProperties& currentProperties = getCurrentProperties();

mImage->setMaxSize(currentProperties.mSize - currentProperties.mPadding);
mImage->setMaxSize(currentProperties.mSize - currentProperties.mPadding * 2);
mBackground.setCornerSize(currentProperties.mBackgroundCornerSize);
mBackground.fitTo(currentProperties.mSize - mBackground.getCornerSize() * 2);
}
Expand Down

0 comments on commit 8763ade

Please sign in to comment.