Skip to content

Commit

Permalink
[BUG] Fix InvalidOperationException: No room is available to display …
Browse files Browse the repository at this point in the history
…rows. (#454), version 1.3.1.7
  • Loading branch information
Hofknecht committed Oct 8, 2022
1 parent d019485 commit ad4942a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.1.6")]
[assembly: AssemblyFileVersion("1.3.1.6")]
[assembly: AssemblyVersion("1.3.1.7")]
[assembly: AssemblyFileVersion("1.3.1.7")]
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ Thanks for ideas, reporting issues and contributing!
#387 #411 #444 [yrctw](https://github.com/yrctw),
#446 [timinformatica](https://github.com/timinformatica),
#450 [ppt-oldoerp](https://github.com/ppt-oldoerp),
#453 [fubaWoW](https://github.com/fubaWoW)
#453 [fubaWoW](https://github.com/fubaWoW),
#454 [WouterVanGoey](https://github.com/WouterVanGoey)

Donations
------------------
Expand Down
2 changes: 1 addition & 1 deletion UserInterface/AppContextMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private static void About()
aboutBox.AppMoreInfo += "#225 #297 #299 #317 #321 #324 #330 #386 #390 #401 #402 #407 #409 #414 #416 #418 #428 #430 #443 chip33, ";
aboutBox.AppMoreInfo += "#298 phanirithvij, #306 wini2, #370 dna5589, #372 not-nef, #376 Michelle H., ";
aboutBox.AppMoreInfo += "#377 SoenkeHob, #380 #394 TransLucida, #384 #434 #435 boydfields, #386 visusys, #387 #411 #444 yrctw" + Environment.NewLine;
aboutBox.AppMoreInfo += "#446 timinformatica, #450 ppt-oldoerp, #453 fubaWoW" + Environment.NewLine;
aboutBox.AppMoreInfo += "#446 timinformatica, #450 ppt-oldoerp, #453 fubaWoW, #454 WouterVanGoey" + Environment.NewLine;
aboutBox.AppMoreInfo += @"
Sponsors - Thank you!
------------------
Expand Down
2 changes: 1 addition & 1 deletion UserInterface/Menu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ private void AdjustDataGridViewHeight(Menu menuPredecessor, int screenHeightMax)
int dgvHeightMaxByOptions = (int)(Scaling.Factor * Scaling.FactorByDpi *
450f * (Properties.Settings.Default.HeightMaxInPercent / 100f));
int dgvHeightMax = Math.Min(dgvHeightMaxByScreen, dgvHeightMaxByOptions);
if (!dgvHeightSet)
if (!dgvHeightSet && dgvHeightByItems > 0 && dgvHeightMax > 0)
{
dgv.Height = Math.Min(dgvHeightByItems, dgvHeightMax);
dgvHeightSet = true;
Expand Down

0 comments on commit ad4942a

Please sign in to comment.