aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/Infobox.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-13 08:40:47 -0400
committerMichael <[email protected]>2017-07-13 08:40:47 -0400
commite92af1bc7fe5cd5860206061f4ff261b3339cc51 (patch)
tree14b571e2495731d7302b61c56d18ae5e4988587e /ShiftOS.Frontend/Infobox.cs
parentaf01804c0fb4286f5975e973aec2b4eaf9752c08 (diff)
downloadshiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.tar.gz
shiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.tar.bz2
shiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.zip
SidePanel system, system status, crapton of other neat things
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;