Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#951 closed defect (fixed)

Editor dose not fit to brouser edges in full-screen mode

Reported by: htanaka Owned by: gogo
Priority: low Milestone: Version 1.0
Component: Plugin_Fullscreen Version: trunk
Severity: normal Keywords:
Cc:

Description

Editor has an unnecessary gap on coordinate position and size in FullScreen mode. There is a margin between top-left of editor and the corner of page, and bottom goes out of the border of window. It is only about 4 pixels but it is not preferable that this gap hides the information on statusbar.

My proposal

on maximize editor:

this._htmlArea.style.margin   = 0;
this._htmlArea.style.padding  = 0;
this._htmlArea.style.borderWidth = 0;

on restore editor:

this._htmlArea.style.margin   = ''; // or initial value
this._htmlArea.style.padding  = ''; // or initial value    
this._htmlArea.style.borderWidth = ''; // or initial value

Attachments (1)

fullscreen-spacing.png (8.3 KB) - added by htanaka 12 years ago.
fig

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by htanaka

fig

comment:1 Changed 12 years ago by ray

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

You're absolutely right.
rev [736]:

  • removed 2px margin from .htmlarea in Xinha.css completely (or is this for some reason important? Don't think so...)
  • disabled 1px border in fullscreen mode

comment:2 Changed 12 years ago by ray

rev [738]: had to take back the removal of the border in IE, as i couldn't figure out a way to get it back in

Note: See TracTickets for help on using tickets.