Setting up TabBar of TabPanel breaks layout

  1. #1

    Setting up TabBar of TabPanel breaks layout

    I m using Ext.net TabPanel to display my view that looks like below:

     Html.X().Viewport()
                              .Layout(LayoutType.Border)
                                              .Items(        Html.X().TabPanel()
                                                             .ID("upperPanel")
                                                             .Region(Region.Center)
                                                             .ActiveTabIndex(0)
                                                             .Collapsible(false)
                                                             .Layout(LayoutType.Fit)
                                                             .TabBar(Html.X().ToolbarFill())
                                                             .Items(Html.X().Panel()
                                                                             .ID("mapPanel")
                                                                             .Title("Map")
                                                                             .Layout(LayoutType.Fit)
    .DefaultAnchor("100%") 
    .ItemsFromPartial("_mapView")
            )
            )
    It is quite simple a viewport with tabpanel contains one panel. The problem is mapPanel is not well displayed and didnt fit all the tabpanel with Chrome (no problems with FF and IE). However once i comment this line .TabBar(Html.X().ToolbarFill()) mapPanel will be displayed properly. So how can i configure TabBar with TabPanel without breaking layouts.
    Last edited by mhd; Sep 17, 2014 at 8:11 PM.

Similar Threads

  1. Replies: 2
    Last Post: Oct 24, 2013, 11:53 AM
  2. [CLOSED] TabBar in the TabPanel
    By leonardm in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Aug 30, 2013, 4:56 AM
  3. Help on setting up links in the layout component
    By jcontreras in forum 2.x Help
    Replies: 5
    Last Post: Mar 27, 2013, 9:06 PM
  4. [CLOSED] Tabpanel tabbar
    By infonext in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: Mar 19, 2013, 4:47 AM
  5. [CLOSED] Layout problem in TabPanel
    By paulc in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: Feb 19, 2013, 5:15 PM

Tags for this Thread

Posting Permissions