]> code.delx.au - comingnext/blobdiff - comingNext/index.html
reduced overall widget height available for text (72 instead of 82 pixels) to give...
[comingnext] / comingNext / index.html
index 98ab3bfc9f07263947dbc67369b90f5867522fcb..5f845372823a4eb7173b99a7b7ce8e7ec362f2ab 100644 (file)
@@ -741,14 +741,14 @@ function updateData()
                if (mode == 0) {\r
                        if (config['fontsize'].Value == config['fontsize'].ValidValues[0]) {\r
                                fontsize = parseInt(72 / config['eventsPerWidget'].Value) + 'px';\r
-                               lineheight = parseInt(82 / config['eventsPerWidget'].Value) + 'px';\r
+                               lineheight = parseInt(72 / config['eventsPerWidget'].Value) + 'px';\r
                        }\r
                }\r
                if (config['fontsize'].Value != config['fontsize'].ValidValues[0]) {\r
                        fontsize = config['fontsize'].Value + 'px';\r
                        lineheight = fontsize;\r
                }\r
-               changeCssClass('.icon', config['cssStyle_icon'].Value + '; width:' + lineheight + '; height:' + lineheight + ';');\r
+               changeCssClass('.icon', config['cssStyle_icon'].Value + '; width:' + fontsize + '; height:' + fontsize + ';');\r
                var entriesHtml = '<table style="font-size:' + fontsize + '; line-height:' + lineheight + ';">';\r
                if (mode == 0)\r
                        entriesHtml = '<table width="307" height="82"><tr><td>' + entriesHtml; // this is needed to center the actual content vertically\r