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:
@ -21,7 +21,7 @@ public class LayoutSettings {
|
||||
private int chatFrameY;
|
||||
private int chatFrameWidth;
|
||||
private int chatFrameHeight;
|
||||
private int dividerLocation = -1;
|
||||
private int dividerLocation = -1;
|
||||
|
||||
public int getMainWindowX() {
|
||||
return mainWindowX;
|
||||
@ -40,6 +40,9 @@ public class LayoutSettings {
|
||||
}
|
||||
|
||||
public int getMainWindowWidth() {
|
||||
if (mainWindowWidth < 200) {
|
||||
mainWindowWidth = 200;
|
||||
}
|
||||
return mainWindowWidth;
|
||||
}
|
||||
|
||||
@ -48,6 +51,9 @@ public class LayoutSettings {
|
||||
}
|
||||
|
||||
public int getMainWindowHeight() {
|
||||
if (mainWindowHeight < 400) {
|
||||
mainWindowHeight = 400;
|
||||
}
|
||||
return mainWindowHeight;
|
||||
}
|
||||
|
||||
@ -87,14 +93,14 @@ public class LayoutSettings {
|
||||
this.chatFrameHeight = chatFrameHeight;
|
||||
}
|
||||
|
||||
public void setSplitPaneDividerLocation(int dividerLocation) {
|
||||
this.dividerLocation = dividerLocation;
|
||||
|
||||
}
|
||||
public void setSplitPaneDividerLocation(int dividerLocation) {
|
||||
this.dividerLocation = dividerLocation;
|
||||
|
||||
}
|
||||
|
||||
public int getSplitPaneDividerLocation() {
|
||||
return dividerLocation;
|
||||
}
|
||||
|
||||
public int getSplitPaneDividerLocation() {
|
||||
return dividerLocation;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user