Add preferences to edit the SSL manager window size.
authorwwp <subscript@free.fr>
Tue, 18 Dec 2018 09:49:31 +0000 (10:49 +0100)
committerwwp <subscript@free.fr>
Tue, 18 Dec 2018 09:49:31 +0000 (10:49 +0100)
clawsker

index 6fbebe7..9b31fe0 100755 (executable)
--- a/clawsker
+++ b/clawsker
@@ -1703,6 +1703,22 @@ sub new_colours_page() {
         '0.0.0',
         '-1',
     ],
+    sslman_w => [
+        'sslmanwin_width',
+        $xl::s{l_win_w},
+        $xl::s{h_win_w},
+        'int,0,3000', # 0 pixels - 3000 pixels
+        '0.0.0',
+        '486',
+    ],
+    sslman_h => [
+        'sslmanwin_height',
+        $xl::s{l_win_h},
+        $xl::s{h_win_h},
+        'int,0,3000', # 0 pixels - 3000 pixels
+        '0.0.0',
+        '-1',
+    ],
     plug_w => [
         'pluginswin_width',
         $xl::s{l_win_w},
@@ -1891,11 +1907,15 @@ sub new_winpos_subpage_prefs() {
 }
 
 sub new_winpos_subpage_misc() {
-    return new_grid_pack (3, 8, [
+    return new_grid_pack (4, 11, [
         [ _('Log window') ],
         [ new_text_box_for_int (\%pr::win, 'logw_w', \%HPVALUE),
             new_text_box_for_int (\%pr::win, 'logw_h', \%HPVALUE) ],
         [ '--' ],
+        [ _('SSL manager') ],
+        [ new_text_box_for_int (\%pr::win, 'sslman_w', \%HPVALUE),
+            new_text_box_for_int (\%pr::win, 'sslman_h', \%HPVALUE) ],
+        [ '--' ],
         [ _('Print preview window') ],
         [ new_text_box_for_int (\%pr::win, 'prin_w', \%HPVALUE),
             new_text_box_for_int (\%pr::win, 'prin_h', \%HPVALUE) ],