mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-30 03:51:14 +12:00
[BUG] Fix InvalidOperationException: No room is available to display rows. (#454), version 1.3.1.7
This commit is contained in:
parent
d01948563c
commit
ad4942aad6
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.3.1.6")]
|
[assembly: AssemblyVersion("1.3.1.7")]
|
||||||
[assembly: AssemblyFileVersion("1.3.1.6")]
|
[assembly: AssemblyFileVersion("1.3.1.7")]
|
||||||
|
|
|
@ -288,7 +288,8 @@ Thanks for ideas, reporting issues and contributing!
|
||||||
#387 #411 #444 [yrctw](https://github.com/yrctw),
|
#387 #411 #444 [yrctw](https://github.com/yrctw),
|
||||||
#446 [timinformatica](https://github.com/timinformatica),
|
#446 [timinformatica](https://github.com/timinformatica),
|
||||||
#450 [ppt-oldoerp](https://github.com/ppt-oldoerp),
|
#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
|
Donations
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -92,7 +92,7 @@ namespace SystemTrayMenu.Helper
|
||||||
aboutBox.AppMoreInfo += "#225 #297 #299 #317 #321 #324 #330 #386 #390 #401 #402 #407 #409 #414 #416 #418 #428 #430 #443 chip33, ";
|
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 += "#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 += "#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 += @"
|
aboutBox.AppMoreInfo += @"
|
||||||
Sponsors - Thank you!
|
Sponsors - Thank you!
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -758,7 +758,7 @@ namespace SystemTrayMenu.UserInterface
|
||||||
int dgvHeightMaxByOptions = (int)(Scaling.Factor * Scaling.FactorByDpi *
|
int dgvHeightMaxByOptions = (int)(Scaling.Factor * Scaling.FactorByDpi *
|
||||||
450f * (Properties.Settings.Default.HeightMaxInPercent / 100f));
|
450f * (Properties.Settings.Default.HeightMaxInPercent / 100f));
|
||||||
int dgvHeightMax = Math.Min(dgvHeightMaxByScreen, dgvHeightMaxByOptions);
|
int dgvHeightMax = Math.Min(dgvHeightMaxByScreen, dgvHeightMaxByOptions);
|
||||||
if (!dgvHeightSet)
|
if (!dgvHeightSet && dgvHeightByItems > 0 && dgvHeightMax > 0)
|
||||||
{
|
{
|
||||||
dgv.Height = Math.Min(dgvHeightByItems, dgvHeightMax);
|
dgv.Height = Math.Min(dgvHeightByItems, dgvHeightMax);
|
||||||
dgvHeightSet = true;
|
dgvHeightSet = true;
|
||||||
|
|
Loading…
Reference in a new issue