You can set the default width of special combo's, which drop-down are, in 'editor/_source/classes/fcktoolbarspecialcombo.js' or you can set the width individually for each of the drop-downs by setting the next line in the function 'prototype.CreateItems' : 'targetSpecialCombo.FieldWidth = thePixelWidthYouWantInt;' where you fill in the thePixelWidthYouWantInt with a integer... This would be the files 'fcktoolbarfontformatcombo.js', 'fcktoolbarfontscombo.js', 'fcktoolbarfontsizecombo.js' and 'fcktoolbarstylecombo.js' See 'fcktoolbarfontsizecombo.js' for an example for setting the width...
...did you consider that the files in /_source are only for development and are only used, if you exchange fckeditor.html with fckeditor.original.html?
if you want to change the behavior in production system you have to do your changes in the files \fckeditor\editor\js... -> the source-files are compressed into these files... regards, j:)rgen.
Unfortunately I have no idea how to solve my problem. I looked at the files you mentioned but I could not find where the font default could be. I guess it is not there but... I also tried the css > fck_editorarea.css too, changed the first "font-family: Arial, Sans-Serif, Verdana;" in the body tag... without success.
RE: Drop down width
This would be the files 'fcktoolbarfontformatcombo.js', 'fcktoolbarfontscombo.js', 'fcktoolbarfontsizecombo.js' and 'fcktoolbarstylecombo.js'
See 'fcktoolbarfontsizecombo.js' for an example for setting the width...
RE: Drop down width
In fcktoolbarfontsizecombo.js I changed the line you specified to the following:
targetSpecialCombo.FieldWidth = 20 ;
I've cleared the cache and it isn't working in either FF or IE. Any thoughts? Is there another file overriding this?
RE: Drop down width
if you want to change the behavior in production system you have to do your changes in the files \fckeditor\editor\js... -> the source-files are compressed into these files...
regards, j:)rgen.
RE: Drop down width
Hello Markooch and J:)rgen ,
I took the liberty to join you both here.
I posted a similar question in this forum
(here: http://sourceforge.net/forum/forum.php? ... _id=257180)
with the same question. I tried the "\fckeditor\editor\js" modification and nothing changed, as explained in my postings!
What I (we?) am (are) doing wrong, J:)rgen, please?!
Thanks a lot,
fskilnik
RE: Drop down width
To change the field width of the Fonts dropdown I added 'A.FieldWidth=80;' to the FCKToolbarFontsCombo.prototype.CreateItems function.
To change the field width of the Font Size dropdown, i changed 'A.FieldWidth=80;' in the FCKToolbarFontSizeCombo.prototype.CreateItems function.
Thanks again!
RE: Drop down width
Good news, Mardooch. Congrats!

Unfortunately I have no idea how to solve my problem. I looked at the files you mentioned but I could not find where the font default could be. I guess it is not there but... I also tried the css > fck_editorarea.css too, changed the first "font-family: Arial, Sans-Serif, Verdana;" in the body tag... without success.