Reputation: 20409
I use default jquery's ui autocomplete and button and their height is different:
Upvotes: 1
Views: 1082
Reputation: 43823
Overriding the button padding with:
input.ui-button {
padding-top:0;
padding-bottom:0;
}
work for me - see demo
<div class="ui-widget">
<label for="tags">Tags: </label>
<input id="tags">
<input type="submit" value="Go">
</div>
var availableTags = ['Demo'];
$('#tags').autocomplete({
source: availableTags
});
$('input:submit').button();
(obviously needs jQuery and jQueryUI libraries as well).
Upvotes: 1