EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: JeroenNL on July 17, 2015, 03:26:26 AM



Title: linkbutton specific size
Post by: JeroenNL on July 17, 2015, 03:26:26 AM
Hi,

I need my linkbuttons to be of a specific size: 70px width. I have no icons. Text needs to be centered. How can I achieve this?

Cheers,
Jeroen


Title: Re: linkbutton specific size
Post by: battlezad on July 17, 2015, 03:48:30 AM
<a href="#" class="easyui-linkbutton" data-options="width:70">Button</a>


Title: Re: linkbutton specific size
Post by: JeroenNL on July 17, 2015, 04:36:54 AM
Thanks for that, but I'm afraid that won't do the trick. Small text doesn't center vertically and larger text doesn't center horizontally. Give a try. It seems there's some padding on the left?