Issue creating TabContainer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue creating TabContainer

Harry Devine
I've been using TabContainers for a while now, but in a new project I'm developing, I can't get it to display properly and I can't figure out for the life of me why.  I get the Tabs to show, but directly above them I have 3 separate bars that have a down arrow, a left arrow, and a right arrow.  I created a JSFiddle to illustrate, and it sort-of shows my problem, but I can't get the external resources right on JSFiddle to load the proper CSS.


Can anyone see why the tabs aren't being shown properly?

Thanks,
Harry

--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Reply | Threaded
Open this post in threaded view
|

Re: Issue creating TabContainer

Kenneth G. Franqueiro
I updated your fiddle to define width: 100% on html and body (otherwise
your BorderContainer has no reference for what 99% is a percentage of)
and added the claro theme, and it seems to display fine.

I've seen what you are describing before, but it's been a while so I
don't remember what causes it; I'm inclined to think it's an issue of
startup not being called.

https://jsfiddle.net/208dwo9n/7/

--Ken

On 4/27/2016 3:41 PM, Harry Devine wrote:

> I've been using TabContainers for a while now, but in a new project I'm
> developing, I can't get it to display properly and I can't figure out
> for the life of me why.  I get the Tabs to show, but directly above them
> I have 3 separate bars that have a down arrow, a left arrow, and a right
> arrow.  I created a JSFiddle to illustrate, and it sort-of shows my
> problem, but I can't get the external resources right on JSFiddle to
> load the proper CSS.
>
> Here's the fiddle link:  https://jsfiddle.net/hdevine/208dwo9n/6/
>
> Can anyone see why the tabs aren't being shown properly?
>
> Thanks,
> Harry
>
>
--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Reply | Threaded
Open this post in threaded view
|

Re: Issue creating TabContainer

Harry Devine
Thanks for the quick reply Ken.  I see what your saying, and in my test file locally, I did that.  My ultimate goal is to have a Dijit Tree inside of an accordian pane, and when I click on one of the nodes, the main right content pane will have the content that has the tab container in it.  Constructing the tab container as I (and you) did works if I load the page independently of this, but if I try to load it into the content pane, the original issue shows up.  Any ideas on how I can fix this?  I can try to come up a JSFiddle for it to show you, but I fear that I may have too many pieces to truly get it right.

In this type of scenario, would it be more beneficial to create the Tab Container programatically rather than declaritively?

Thanks,
Harry


From: "Kenneth G. Franqueiro" <[hidden email]>
To: [hidden email]
Sent: Wednesday, April 27, 2016 3:47:46 PM
Subject: Re: [Dojo-interest] Issue creating TabContainer

I updated your fiddle to define width: 100% on html and body (otherwise
your BorderContainer has no reference for what 99% is a percentage of)
and added the claro theme, and it seems to display fine.

I've seen what you are describing before, but it's been a while so I
don't remember what causes it; I'm inclined to think it's an issue of
startup not being called.

https://jsfiddle.net/208dwo9n/7/

--Ken

On 4/27/2016 3:41 PM, Harry Devine wrote:

> I've been using TabContainers for a while now, but in a new project I'm
> developing, I can't get it to display properly and I can't figure out
> for the life of me why.  I get the Tabs to show, but directly above them
> I have 3 separate bars that have a down arrow, a left arrow, and a right
> arrow.  I created a JSFiddle to illustrate, and it sort-of shows my
> problem, but I can't get the external resources right on JSFiddle to
> load the proper CSS.
>
> Here's the fiddle link:  https://jsfiddle.net/hdevine/208dwo9n/6/
>
> Can anyone see why the tabs aren't being shown properly?
>
> Thanks,
> Harry
>
>
--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest


--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest