Vertical Panel middle sprite height miscalculated #93

Open
n8stowell82 opened this Issue Mar 16, 2012 · 0 comments

Comments

Projects
None yet
1 participant

When creating a vertical panel, and using my own "top" "middle" and "bottom" sprites, the middle sprite is not calculated to be tall enough to connect the top sprite and bottom sprite.

by modifying the "UIVerticalPanel.cs" file line 104, from:

var leftoverHeight = totalAvailableHeight - _topStripeHeight - _bottomStripHeight + 3;

to:
var leftoverHeight = totalAvailableHeight - _topStripeHeight + _bottomStripHeight + 3;

seems to fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment