Skip to content

Commit

Permalink
[jan] Fix padding of drop down lists with scrollbars (Bug #11971).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Dec 5, 2013
1 parent 6e60d3c commit 2a18fbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion framework/Core/js/keynavlist.js
Expand Up @@ -167,7 +167,9 @@ var KeyNavList = Class.create({
if ((divL.get('border-box-height') + dt + off.top + 10) > v.height) {
this.div.setStyle({
height: (v.height - dt - off.top - 10) + 'px',
width: (this.div.scrollWidth + 5) + 'px'
});
this.div.setStyle({
width: (2 * this.div.getWidth() - this.div.scrollWidth) + 'px'
});
}

Expand Down
4 changes: 2 additions & 2 deletions framework/Core/package.xml
Expand Up @@ -39,7 +39,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Fix padding of drop down lists with scrollbars (Bug #11971).
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -3253,7 +3253,7 @@
<date>2013-11-19</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Fix padding of drop down lists with scrollbars (Bug #11971).
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 2a18fbf

Please sign in to comment.