aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/Infobox.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Frontend/Infobox.cs')
-rw-r--r--ShiftOS.Frontend/Infobox.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/ShiftOS.Frontend/Infobox.cs b/ShiftOS.Frontend/Infobox.cs
index a71785b..18bf60a 100644
--- a/ShiftOS.Frontend/Infobox.cs
+++ b/ShiftOS.Frontend/Infobox.cs
@@ -182,6 +182,16 @@ namespace ShiftOS.Frontend
this.Layout();
}
+ protected override void OnLayout()
+ {
+ try
+ {
+ btnok.Y = this.Height - btnok.Height - 10;
+ flyesno.Y = this.Height - flyesno.Height - 10;
+ }
+ catch { }
+ }
+
private Control panel1;
private TextControl lbmessage;