This is a migrated thread and some comments may be shown as answers.

Button width is ignored in RibbonBar

1 Answer 21 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 21 Sep 2012, 10:05 AM
Hi,

Hope someone can help me out real quick.

My problem is, that I have published our solution to our test server, and on the server the button width seems to be ignored.
The funny thing is, that if I view source in the browser the width (80px) is there, but the actual button width just follows the button text. It works fine my local machine. Dll's are the same version local and on server.

Thanks.

/Thomas

1 Answer, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 21 Sep 2012, 11:27 AM
Hi, Thomas.

Per design, the button width of the Ribbon should be automatic. Never the less it is still possible to set the width to a button via the width attribute.

However, during resizing that width may cause issues, as there are certain assumption in the resizing code to speedup the process.

I suggest that you do not force width of the RibbonBar items.

All the best,
Ivan Zhekov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
RibbonBar
Asked by
Thomas
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Share this question
or