PDA

View Full Version : NOT able to change size of simple picker ......



niks
27 Jul 2011, 6:46 AM
Hi ALL,
I have written following code for(simple) picker field. now i want to change height and width of picker. i have set done and cancel button false only i want to display picker ...... please tell me solution.
:s:s:s:s:s:s:s 27159
var mypicker = new Ext.Picker({

layout: {
type: 'auto',
align: 'left'
},
placeHolder: 'What\'s on your mind?',

margin:'30 -60 0 -20',
width:5,
height:2,
doneButton:false,
cancelButton:false,
bodyMargin:20,
stretchX:false,
stretchY:false,
padding:'0 0 2 2',
enter:'top',
html:'<h1 style="color:white">niks1</h1>',

//fullscreen:true,
slots: [
{

name : 'limit_speed1',
useTitles: true,
title: 'Terminals',
height:2,

data : [
{text: 'one', value: 1},
{text: 'two', value: 2},
{text: 'three', value: 3}
]
}
],

});

thanks in advance

Niks

lpfx
15 Dec 2011, 8:55 AM
I'm trying to do that too

Does anyone know how to change the width of the picker?