mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Fix minor layout issue.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9161 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -143,7 +143,15 @@ public class LayoutSettingsManager {
|
||||
|
||||
|
||||
int chatFrameXInt = Integer.parseInt(chatFrameX);
|
||||
if (chatFrameXInt < 0) {
|
||||
chatFrameXInt = 0;
|
||||
}
|
||||
|
||||
int chatFrameYInt = Integer.parseInt(chatFrameY);
|
||||
if (chatFrameYInt < 0) {
|
||||
chatFrameYInt = 0;
|
||||
}
|
||||
|
||||
int chatFrameWidthInt = Integer.parseInt(chatFrameWidth);
|
||||
int chatFrameHeightInt = Integer.parseInt(chatFrameHeight);
|
||||
int splitDividerLocationInt = splitDividerLocation == null ? -1 : Integer.parseInt(splitDividerLocation);
|
||||
@ -156,7 +164,7 @@ public class LayoutSettingsManager {
|
||||
chatFrameYInt = (height - chatFrameHeightInt) / 2;
|
||||
}
|
||||
|
||||
if(chatFrameHeightInt < 100){
|
||||
if (chatFrameHeightInt < 100) {
|
||||
chatFrameHeightInt = 100;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user