Are you sure you need to set float:left if you use divs as separators?
If it is necessary, why don't you define float:left in the stylesheet
declaration in LzSprite?
Otherwise approved.
On 5/8/2009 11:21 PM, Henry Minsky wrote:
Change 20090508-hqm-1 by [email protected] on 2009-05-08 17:19:08 EDT
in /Users/hqm/openlaszlo/trunk-diamond
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix for DHTML IE: Context menus too wide
New Features:
Bugs Fixed: LPP-8137
Technical Reviewer: andre
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
+ Use "float: left" to cause menu div to track text width in IE7
+ Define 'separator' CSS class to draw the menu separator
Tests:
tested in FF/OSX, and IE7/WINXP DHTML
test/contextmenu/ie7.lzx
CSS styles for hover work again
Files:
M test/contextmenu/ie7.lzx
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/LzContextMenuKernel.lzs
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090508-hqm-1.tar