| Page 1 of 1 | [ 5 posts ] |
|
Hi,
I just customized font size from spinner to selection and i want a way to make this list in this fornmat 8 px 12 px 24 px .... Can any one please help me do achieve this Thanks |
|
|
|
my requirement is ,i want to change font style in drop down list itself in above manner.
i hope i am clear now Thanks |
|
Yes, very clear. Did you even look at the example? It shows how to create a font size drop down. It may show text sizes, but it's the same principle.
|
|
Hi Dav,
I checked this example even i am using same example to create font selection drop-down. now i am giving font-size property and size but not working as - Code: myEditor._defaultToolbar.buttons[0].buttons[1] = { type: 'select', label: 'Normal', value: 'fontsize2', disabled: false, menu: [ { text: '8 px' ,size: '24px' }, { text: '9 px' }, { text: '10 px' }, { text: '11 px' }, { text: '12 px' }, { text: '14 px' }, { text: '16 px' }, { text: '20 px' }, { text: '24 px' } ] }; Dav may be i am doing something wrong please guide me Thanks |
| Page 1 of 1 | [ 5 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group