How can you create buttons that are wider than 16 pixels. If you can't, then can someone explain how the Source button is able to be larger than 16 pixels .
ok found the solution, for everyone who's interested:
just copy the line from above and change it to your button name than insert in ckeditor/skins/kama/editor.css or your own css, the label defined in your plugin.js becomes the text beside the icon
Re: buttons wider than 16 pixels ?
<a onclick="CKEDITOR.tools.callFunction(14, this); return false;" onfocus="return CKEDITOR.ui.button._.focus(10, event);" onkeydown="return CKEDITOR.ui.button._.keydown(10, event);" onblur="this.style.cssText = this.style.cssText;" hidefocus="true" tabindex="-1" title="Source" href="javascript:void('Source')" class="cke_off cke_button_source" id="cke_14"> <span class="cke_icon"/> <span class="cke_label">Source</span> </a>.cke_skin_kama .cke_button_source .cke_label{display:inline;}.cke_skin_kama .cke_button_templates .cke_label{display:inline;}Edit
.cke_skin_kama .cke_button_templates .cke_label{display:inline;}Re: buttons wider than 16 pixels ?
Re: buttons wider than 16 pixels ?
I have a button with an icon but the button should look like: [icon:Text] like the Source button
Re: buttons wider than 16 pixels ?
just copy the line from above and change it to your button name than insert in ckeditor/skins/kama/editor.css or your own css, the label defined in your plugin.js becomes the text beside the icon
greetz