| |
Darin,
Is there a reason why you left the * space.getH()-8 * piece of code in the comment?
core.comps.toolbar.addSpacer = function(spacing){
var space = core.createElm(this, null,null,core.rInt(spacing,12),this.getH());
var line = core.createElm(space,null,null,2,23);//(space.getH()-8));
with(line.style){
borderStyle = "inset";
borderWidth = "1px";
overflow = "hidden";
}
space.style.textAlign = "center";
space.domAPIObjType = "TOOLBARSPACER";
};
My toolbar is smaller in height than the default and the spacer was pushing right upto the edges, looking a bit odd. I moved the space.getH()-8 code in replacing the hardcoded value of 23 and it works better. Is it possible to remove the hardcoded value?
Thanks,
Dinesh
|
|