linux eventlog: Minimum size for the window
This commit is contained in:
parent
30f84e58f8
commit
f9939afbcc
|
@ -45,7 +45,7 @@ namespace SparkleShare {
|
|||
public SparkleEventLog () : base ("")
|
||||
{
|
||||
Gdk.Rectangle monitor_0_rect = Gdk.Screen.Default.GetMonitorGeometry (0);
|
||||
SetDefaultSize (480, (int) (monitor_0_rect.Height * 0.8));
|
||||
SetSizeRequest (480, (int) (monitor_0_rect.Height * 0.8));
|
||||
|
||||
int x = (int) (monitor_0_rect.Width * 0.61);
|
||||
int y = (int) (monitor_0_rect.Height * 0.5 - (HeightRequest * 0.5));
|
||||
|
|
Loading…
Reference in a new issue