1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    71
    Vote Rating
    0
    heringsfilet is on a distinguished road

      0  

    Default Panel always scrollable and problem with map

    Panel always scrollable and problem with map


    Hi there,

    I have a problem with following code:

    Code:
    app.views.MapView =  Ext.extend(Ext.Panel, {
        iconCls: 'locate3',
        iconMask: true,
        layout: {
            type: 'vbox',
            align: 'stretch'
        },
        dockedItems: [{
            xtype: 'toolbar',
            title: 'location',
            dock: 'top'
        }],
        items: [
            {
                xtype: 'button',
                text: 'send location',
                ui: 'round',
                margin: '2 2 2 2',
                flex: '1'
            },
            {
                xtype: 'map',
                useCurrentLocation: true,
                flex: '10',
                mapOptions: {
                    zoom: 12,
                    streetViewControl: false,
                    scaleControl: false,
                    mapTypeControl: false,
                    navigationControl: true,
                    navigationControlOptions: {
                        style: google.maps.NavigationControlStyle.ANDROID
                    }
                }
            }
        ],
        initComponent: function() {
            app.views.MapView.superclass.initComponent.apply(this, arguments);
        }
    });
    I use the MVC paradigm and have this Panel as item in a TabPanel (which is my viewport).
    This panel is even scrollable when I add 'scroll: false' to it. Where could be the problem?I'm new to Sencha Touch and mobile development. Maybe I've done something absolutely wrong, so any hint would be great.
    Last edited by heringsfilet; 30 Mar 2011 at 1:57 AM. Reason: 1 problem solved

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    71
    Vote Rating
    0
    heringsfilet is on a distinguished road

      0  

    Default


    Resolved: I've got defaults: { scroll: 'vertical'} in my viewport, so the scroll: false had no effect.

Similar Threads

  1. Why is this Ext.Panel not scrollable?
    By mikerthomsen in forum Ext 3.x: Help & Discussion
    Replies: 16
    Last Post: 25 Aug 2010, 11:12 PM
  2. Scrollable panel
    By gatakka in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 18 Aug 2009, 3:40 AM
  3. panel wont become scrollable
    By nadeemshafi9 in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 7 Mar 2009, 11:28 PM
  4. Scrollable Panel
    By emmanuel_adenitire in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 28 Nov 2008, 8:58 AM
  5. CSS problem on scrollable panel
    By wiyanto in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 24 Mar 2008, 4:45 PM

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."