Changeset f4caf5


Ignore:
Timestamp:
Aug 20, 2008, 8:57:34 PM (12 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
b5331b
Parents:
49dcdd
Message:

set minimum height to 60px (else scrollbar is hidden)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_notificationBar.js

    r49dcdd rf4caf5  
    181181        var objMessagepane = document.getElementById("messagepane");
    182182        var maxHeight = (objMessagepane)?parseInt(objMessagepane.boxObject.height / 2)+1:null;
     183        if (maxHeight < 60) maxHeight = 60; // set a minimum size, if to small scrollbars are hidden
    183184        var tooBig = (maxHeight)?(elem.inputField.scrollHeight > maxHeight):false;
    184185        var newHeight = (tooBig)?maxHeight:elem.inputField.scrollHeight;
Note: See TracChangeset for help on using the changeset viewer.