server
Clone or download
Modified Files
--- 'a/src/main/java/com/StreamPi/Server/Window/Settings/ClientsSettings.java'
+++ b/src/main/java/com/StreamPi/Server/Window/Settings/ClientsSettings.java
@@ -145,9 +145,10 @@ public class ClientsSettings extends VBo
int actionsSize = Integer.parseInt(clientProfileVBox.getActionSize());
double startupWidth = Double.parseDouble(clientSettingsVBox.getStartupWindowWidth());
+
if((rows*actionsSize) > (startupWidth - 25))
{
- errors2.append(" Rows out of bounds of screen size. \n");
+ errors2.append(" Rows out of bounds of screen size. \n"+startupWidth);
}
}
catch (NumberFormatException e)
@@ -164,7 +165,7 @@ public class ClientsSettings extends VBo
if((cols*actionsSize) > (startupHeight - 25))
{
- errors2.append(" Cols out of bounds of screen size. \n");
+ errors2.append(" Cols out of bounds of screen size. \n"+startupHeight);
}
}
catch (NumberFormatException e)