Opened 15 years ago

Closed 15 years ago

#131 closed defect (fixed)

Width problem

Reported by: Rob Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords:


I just don't get it.

When I do:

var editor = null;
function initEditor(id)

editor = new HTMLArea();
var cfg = editor.config;

cfg.width = '100%';
cfg.height = '200px';

HTMLArea.replace(id, cfg);


, the xinha textbox is displayed as 100 *pixels*, not percent. I've had this problem with htmlarea too, some months ago. I really don't understand what I'm doing wrong. Thanks,


Change History (2)

comment:1 Changed 15 years ago by gogo

  • Component changed from Plugin - Fullscreen to Xinha Core

Percent doesn't work. Simple as that sorry. Work is underway (slowly :( ) on fixing up the sizing (and resizing) of the editor, I don't know yet if % widths will be part of that or not.

comment:2 Changed 15 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed

This was all fixed long time ago now.

Note: See TracTickets for help on using tickets.