Commit 3a5c6069 authored by David Stutz's avatar David Stutz

Fixed #656.

parent 76b89fc0
......@@ -447,7 +447,7 @@
// Manually add button width if set.
if (this.options.buttonWidth && this.options.buttonWidth !== 'auto') {
this.$button.css({
'width' : this.options.buttonWidth,
'width' : '100%', //this.options.buttonWidth,
'overflow' : 'hidden',
'text-overflow' : 'ellipsis'
});
......
......@@ -1548,6 +1548,10 @@
The width of the multiselect button may be fixed using this option.
</p>
<p class="alert alert-info">
Actually, <code>buttonWidth</code> describes the width of the <code>.btn-group</code> container and the width of the <code>button</code> is set to <code>100%</code>.
</p>
<div class="example">
<script type="text/javascript">
$(document).ready(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment