Changeset 1341


Ignore:
Timestamp:
02/03/18 11:54:10 (8 months ago)
Author:
gogo
Message:

Fix for #1601 status bar a few pixels too wide pushing the scroll bar inwards.

Fixed by uising box-sizing CSS, of course only modern browsers will support it (does IE?) but that's OK.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xinha.css

    r1297 r1341  
    9595  height:16px; 
    9696  overflow: hidden; 
     97   
     98  /* Fix #1601 Incorrect sized status statusBar*/ 
     99  box-sizing:border-box; 
     100  height:22px; /* 4px pad + 1x border additional to the 16px which was used above */ 
    97101} 
    98102 
  • trunk/XinhaCore.js

    r1340 r1341  
    22422242    { 
    22432243      var width = size['width']; 
    2244       self._statusBar.style.width = width + "px"; 
     2244       
     2245      // ticket:1601 fixed here by 2px adjustment for borders 
     2246      //    and by setting box-sizing on .htmlarea .statusBar in Xinha.css 
     2247      self._statusBar.style.width = (width-2) + "px"; 
    22452248    } 
    22462249  }); 
Note: See TracChangeset for help on using the changeset viewer.