Announcement

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

#1 2011-04-28 03:19:04

rchav
New member
Registered: 2011-04-28
Posts: 2

Minimum height fixed?

I'm trying to resize the editor using the config options for width and height in the init function, like so:

var config = new Xinha.Config();
config.width = "400px";
config.height = "200px";
editeur = Xinha.makeEditors(['textAreaID'], config);
Xinha.startEditors(editeur);

I noticed that I can pretty much set any size I want, however, I can't go below a certain size for the height.

Is there a fixed minimum size for it somewhere?

I even tried with the sizeEditor function and got the same results.

Thanks in advance.

Offline

#2 2011-04-29 00:53:23

rchav
New member
Registered: 2011-04-28
Posts: 2

Re: Minimum height fixed?

Anyone?

Offline

#3 2011-04-29 21:27:22

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

Re: Minimum height fixed?

I dont' recall if Xinha itself sets a minimum but the browser might.

If Xinha does, you'll find it in XinhaCore.js I expect in the method which sizes the editors (going from memory, oddly enough called _sizeEditor)


James Sleeman

Offline

Board footer

Powered by FluxBB