Various bug fixe, ValveMove to flow repeted 1x, version 1.4.42
This commit is contained in:
@@ -165,14 +165,14 @@ namespace TBF.Screens
|
||||
if (MetersArrangement == Forms.ResultsConfig.Meters.Horizontally)
|
||||
{
|
||||
flowLayoutPanel.FlowDirection = FlowDirection.LeftToRight;
|
||||
lvWidth = (flowLayoutPanel.Width + 5) / metersInOneGroup - 5;
|
||||
lvHeight = (flowLayoutPanel.Height + 5) / nrGroups - 5;
|
||||
lvWidth = flowLayoutPanel.Width / metersInOneGroup - 6;
|
||||
lvHeight = flowLayoutPanel.Height / nrGroups - 6;
|
||||
}
|
||||
else
|
||||
{
|
||||
flowLayoutPanel.FlowDirection = FlowDirection.TopDown;
|
||||
lvWidth = (flowLayoutPanel.Width + 5) / nrGroups - 5;
|
||||
lvHeight = (flowLayoutPanel.Height + 5) / metersInOneGroup - 5;
|
||||
lvWidth = flowLayoutPanel.Width / nrGroups - 6;
|
||||
lvHeight = flowLayoutPanel.Height / metersInOneGroup - 6;
|
||||
}
|
||||
flowLayoutPanel.Controls.Clear();
|
||||
flowLayoutPanel.WrapContents = true;
|
||||
|
||||
Reference in New Issue
Block a user