add restoring tournament table chat divider location

refactor getting current bounds into utility function
This commit is contained in:
GrayedFox 2018-05-22 20:36:05 +02:00
parent 5822a7d94d
commit ebc36c503e
No known key found for this signature in database
GPG key ID: 7FF4748DBF28C93F
4 changed files with 22 additions and 7 deletions

View file

@ -203,6 +203,7 @@ public class PreferencesDialog extends javax.swing.JDialog {
public static final String KEY_TABLES_DIVIDER_LOCATION_1 = "tablePanelDividerLocation1";
public static final String KEY_TABLES_DIVIDER_LOCATION_2 = "tablePanelDividerLocation2";
public static final String KEY_TABLES_DIVIDER_LOCATION_3 = "tablePanelDividerLocation3";
public static final String KEY_TABLES_DIVIDER_LOCATION_4 = "tablePanelDividerLocation4";
// Positions of deck editor divider bars
public static final String KEY_EDITOR_HORIZONTAL_DIVIDER_LOCATION = "editorHorizontalDividerLocation";