Re: [Zope-dev] ZMI textareas on Windows IE6 are '100%+' wide, cause scrolling inconvenience

2002-02-09 Thread Joachim Werner

Hi!

I think the problem is more severe. IE 6 has obviously changed behaviour
compared to IE 5.5. I'd call it a bug. It now always calculates 100% with
the right-hand bar's width INCLUDED, so there are other side-effects than
the one you are describing, like the last tab on the right being partially
covered by the scroll bar.

So if we change the HTML, it should limit the width of the WHOLE right-hand
frame, not just the textarea's width ...

Unfortunately this will only work automatically with some browser detection
...

Joachim


- Original Message -
From: Jeff Kowalczyk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 09, 2002 3:02 AM
Subject: [Zope-dev] ZMI textareas on Windows IE6 are '100%+' wide, cause
scrolling inconvenience


 On my Zope 2.5.0 running on WindowsXP/IE6, the ZMI's textarea boxes, for
 things like editing PageTemplates, becomes too wide for the frame when
 the vertical scrollbar is required, causing an inconvenient
 side-scrolling behavior. The frame must be scrolled sideways to view the
 text areas's scrollbars, which then obsures the far left of the
 textarea.

 This is the code in question (for a PT edit page, there are many others)
   Expand macros when editing
 /td
   /tr
   tr
 td align=left valign=top colspan=4
   div style=width: 100%;
   textarea name=text:text wrap=off style=width: 100%;
 cols=40 rows=15lt;html metal:define-macro=pagegt;

 Would it not help to make the textarea and div width 90% or so to
 account for the potential width of the side-scroll bar on the right-hand
 ZMI frame? Or even better, this could become a preference setting, since
 some users will have very narrow scrollbars or extreme vertical
 resolutions. After all, there is a cols/rows insertion right next to it,
 perhaps a new preference setting is easy enough to add...


 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] ZMI textareas on Windows IE6 are '100%+' wide, cause scrolling inconvenience

2002-02-09 Thread Jeff Kowalczyk

[Jeff] You're right, I wonder if this is a documented change in IE6, or
a bug they plan to fix? I can't imagine in what universe that including
the scrollbar-obscured area in the 100% width makes sense. I'd hate to
see all browsers' HTML get munged to cover this bug up. But given the
pervasiveness of IE6, maybe the ZMI should make some accomodation for a
preference that 9x%'s the width of the right frame.


[Joachim] I think the problem is more severe. IE 6 has obviously changed
behaviour compared to IE 5.5. I'd call it a bug. It now always
calculates 100% with the right-hand bar's width INCLUDED, so there are
other side-effects than the one you are describing, like the last tab on
the right being partially covered by the scroll bar.

So if we change the HTML, it should limit the width of the WHOLE
right-hand frame, not just the textarea's width ...

Unfortunately this will only work automatically with some browser
detection ...

Joachim


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )