Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    2
    Vote Rating
    0
    comic96 is on a distinguished road

      0  

    Default Unanswered: Broken picker icon when extending Ext.form.field.Picker

    Unanswered: Broken picker icon when extending Ext.form.field.Picker


    Hi,

    I'm trying to create a custom picker by extending Ext.form.field.Picker but when my picker is rendered I'm seeing a kind of 'double' version of the picker icon:

    My code looks like something like this:
    Code:
    Ext.define('Calendar', {
        requires: ['Ext.form.field.Picker',
                   'CalendarView'
        ],
        
        extend: 'Ext.form.field.Picker',
        alias : 'widget.my_datefield',
        
        triggerCls : Ext.baseCSSPrefix + 'form-date-trigger',
        
        matchFieldWidth: false,
        
        initComponent: function() {
            var me = this;
    
    
            me.callParent();
        },
        
        createPicker: function() {
            var me = this;
            
            return Ext.create('CalendarView', {
                pickerField: me,
                ownerCt: me.ownerCt,
                renderTo: document.body,
                floating: true,
                hidden: true,
                focusOnShow: true,
                keyNavConfig: {
                    esc: function() {
                        me.collapse();
                    }
                }
            });
        }
    });
    This results in the broken icon shown in the attachment to this post.

    Can anyone tell me if/where I might be going wrong?

    Many thanks
    Attached Images
    Last edited by dawesi; 12 Nov 2012 at 9:28 AM. Reason: Code Formatting

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,521
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Looks like some CSS and layout issue. The element for the icon needs to be like 16px wide to only show the one icon, can even do some background-repeat
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1