Fix resize/layout/reflow issues with ListView/Explorer controls
This commit is contained in:
parent
6140512fff
commit
81c81dd26e
2 changed files with 3 additions and 3 deletions
|
|
@ -108,7 +108,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
int itemWidth = ThumbWidth + (iconViewPadding * 2);
|
||||
|
||||
int newColumnCount = (int)Math.Floor(this.LocalBounds.Width / itemWidth);
|
||||
int remainingSpace = (int)this.LocalBounds.Width - columnCount * itemWidth;
|
||||
int remainingSpace = (int)this.LocalBounds.Width - newColumnCount * itemWidth;
|
||||
|
||||
// Reset position before reflow
|
||||
cellIndex = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue