Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2009-11-25 10:55:05

sjel
New member
Registered: 2009-11-25
Posts: 3

problem with position of the scrollbar

Hi!

I hope you can help me with this problem:

a few days ago i have updated from an old xinha version to xinha 0.96 beta2.

in the new xinha version the scrollbar is always a litte to the left of the end of the toolbar,
while in the old version the scrollbar was flush with the toolbar.

i have included some pictures to clarify.
xinhaold.jpg
xinhanew.jpg

i have already tried to set the width in my config file to 'auto' and 'toolbar' but that doesnt
remove this gap.
iframeWidth doesnt work as well, because i need the value of
the width as percentage.


are there other size options i could try?

Offline

#2 2009-11-25 19:57:20

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: problem with position of the scrollbar

Try in the latest svn trunk.
Disable all plugins.
Look in different browsers.


James Sleeman

Offline

#3 2009-11-26 12:35:34

sjel
New member
Registered: 2009-11-25
Posts: 3

Re: problem with position of the scrollbar

Thanks for your answer.
I tried your suggestions, but it still looked the same.

I guess I figured out what the problem is:
In XinhaCore.js:
At the end of the "Xinha.prototype.sizeEditor"-Function
the iframe-size and toolbar-size are identic, like i want it to be.
But when the "this.notifyOf('resize', {width:.., heigth:..})"-Function is called
(it calles "this.notifyOn("resize", function(evt,size))")
the size of the Toolbar is set to this size too -> thus being 10px too long.

My workaround is: In line 2152 I set "var width = size['width'] -10;".

IMHO it seems to be a little strange that by being the same length as the
iframe, the toolbar is longer, so maybe i missed something?

Offline

#4 2009-11-26 20:01:45

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: problem with position of the scrollbar

So this is with XinhaCore.js version 1229?

Please tell me a browser version in particular you are seeing this with (even if you see it in different browsers, I need to know one in particular so I can test against it).
Please post your Xinha configuration.


James Sleeman

Offline

#5 2009-11-27 05:56:04

sjel
New member
Registered: 2009-11-25
Posts: 3

Re: problem with position of the scrollbar

Hi.

Yes, XinhaCore.js revision 1229.
Browsers are: Firefox V 3.0.7 / Firefox V 2.0.0.18 / Internet Explorer 8 V 8.0.6001.18702

Configuration is:
var xinha_editors = [];
var xinha_plugins = ['CharacterMap','ContextMenu','FindReplace','ListType','UnFormat','TableOperations'];
function xinha_init(){
if(!Xinha.loadPlugins(xinha_plugins, xinha_init))return;
}
xinha_init();

// Config plaintext:
var xinha_plaintext_config = new Xinha.Config();
xinha_plaintext_config.hideSomeButtons(' popupeditor fontname clearfonts htmlmode insertimage lefttoright
righttoleft print removeformat saveas splitblock inserttable toggleborders ');
xinha_plaintext_config.statusBar = true;
xinha_plaintext_config.getHtmlMethod = 'TransformInnerHTML';
xinha_plaintext_config.width = '90%';
xinha_plaintext_config.height = '400px';
xinha_plaintext_config.sevenBitClean = true;
xinha_plaintext_plugins = ['CharacterMap','ContextMenu','FindReplace','ListType','UnFormat'];
xinha_plaintext_config.dialogOptions ={'greyout':false};

Offline

#6 2009-11-30 23:17:08

Unubpab
New member
From: Czech
Registered: 2009-11-24
Posts: 1
Website

Re: problem with position of the scrollbar

I have the same problem. Cant extract the files.  Did anything work?


[url=http://bowtrol.multiply.com/]bowtrol scam[/url]

Offline

Board footer

Powered by FluxBB