mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Update layout settings.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9075 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -40,6 +40,9 @@ public class LayoutSettings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int getMainWindowWidth() {
|
public int getMainWindowWidth() {
|
||||||
|
if (mainWindowWidth < 200) {
|
||||||
|
mainWindowWidth = 200;
|
||||||
|
}
|
||||||
return mainWindowWidth;
|
return mainWindowWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -48,6 +51,9 @@ public class LayoutSettings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int getMainWindowHeight() {
|
public int getMainWindowHeight() {
|
||||||
|
if (mainWindowHeight < 400) {
|
||||||
|
mainWindowHeight = 400;
|
||||||
|
}
|
||||||
return mainWindowHeight;
|
return mainWindowHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user