Results 1 to 3 of 3

Thread: [FIXED-159] Tab badge text does not get cut off:

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default [FIXED-159] Tab badge text does not get cut off:



    Modified tabs2 example (just changed the dock to top:

    Code:
        var tabpanel = new Ext.TabPanel({
                tabBar: {
                    dock: 'top',
                    layout: {
                        pack: 'center'
                    }
                },
                fullscreen: true,
                ui: 'light',
                animation: {
                    type: 'flip',
                    cover: true
                },
                defaults: {
                    scroll: 'vertical'
                },
                items: [{
                    title: 'About',
                    html: '<h1>Bottom Tabs</h1><p>Docking tabs to the bottom will automatically change their style. The tabs below are type="light", though the standard type is dark. Badges (like the 4 &amp; Long title below) can be added by setting <code>badgeText</code> when creating a tab/card or by using <code>setBadge()</code> on the tab later.</p>',
                    iconCls: 'info',
                    cls: 'card1'
                }, {
                    title: 'Favorites',
                    html: '<h1>Favorites Card</h1>',
                    iconCls: 'favorites',
                    cls: 'card2',
                    badgeText: '4'
                }, {
                    title: 'Downloads',
                    id: 'tab3',
                    html: '<h1>Downloads Card</h1>',
                    badgeText: 'Text can go here too, but it will be cut off if it is too long.',
                    cls: 'card3',
                    iconCls: 'download'
                }, {
                    title: 'Settings',
                    html: '<h1>Settings Card</h1>',
                    cls: 'card4',
                    iconCls: 'settings'
                }, {
                    title: 'User',
                    html: '<h1>User Card</h1>',
                    cls: 'card5',
                    iconCls: 'user'
                }]
            });

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661

    Default

    Your issue has been entered in Trac for review. Thank you for the report.

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243

    Default

    This has been fixed and will be part of the next release (0.9.3) due beginning of next week.

Similar Threads

  1. Replies: 1
    Last Post: 7 Jun 2010, 4:39 AM
  2. [FIXED] [1.1.1] Tabs cut on browser resizing
    By takayser in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 3 Nov 2008, 9:10 PM
  3. Replies: 1
    Last Post: 26 Feb 2008, 10:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •