View Full Version : Border in the Ext Core carousel example

13 May 2009, 2:56 AM
If I want to have a border navigation header on the last example at


If I use Firebug to add the following to the div with class "ux-carousel-nav"

border: 1px solid #000

I don't get a border on the right, can anyone help me figure out why?

13 May 2009, 3:26 AM
It needs programatically widthing. The border is hidden off the edge.

In that case, explicitly setting it to width: 418px fixes it.

13 May 2009, 3:28 AM
Setting it to the width of its parent container minus its own getFrameWidth('lr') should fix it.

13 May 2009, 3:33 AM
Thank you sir, works! :)