Opened 18 years ago
Closed 17 years ago
#380 closed Bug (worksforme)
dialogs to small
Reported by: | Paul Moers | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | Opera Compatibility |
Component: | General | Version: | FCKeditor 2.4.2 |
Keywords: | Cc: |
Description
Opera displays a (collapsed clickable) toolbar in dialogs, pushing the content downwards so that the lowest content sometimes drops out of sight (e.g. the table dialog).
Change History (5)
comment:1 Changed 18 years ago by
Keywords: | dialog collapsed toolbar Opera removed |
---|
comment:2 Changed 18 years ago by
comment:3 Changed 18 years ago by
The editor fixes the window size to correctly accommodate the inner content height. Not all dialogs do that, but the Table dialog is one of those that do it.
The resize logic can be found at editor/fckdialog.html, function RefreshSize().
To easily test it, just make the following modification to its code:
-
editor/fckdialog.html
95 95 96 96 var iInnerHeight = oInnerDoc.body.scrollHeight ; 97 97 98 var iDiff = iInnerHeight - iFrameHeight ;98 var iDiff = iInnerHeight - iFrameHeight + 50 ; 99 99 100 100 if ( iDiff > 0 ) 101 101 {
Then try the table dialog with FF and Opera to see the difference.
comment:4 Changed 18 years ago by
I believe this is the same issue as reported in Opera bug 261077, which deals with OK and Cancel buttons being displayed too far down in all dialogs.
comment:5 Changed 17 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Seems to work fine now (Opera build 9488)
Opera should already increase popup size correspondingly to allow for the height of the collapsible domain bar. Might this be a problem with height calculation somewhere in the FCKEditor code?