[ https://issues.apache.org/jira/browse/OFBIZ-6927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Smits updated OFBIZ-6927: -------------------------------- Attachment: Screen Shot 2016-03-18 at 09.42.00.png Screen Shot 2016-03-18 at 09.42.39.png I created a menu item with a width of 1000 and a height of 400 {code} <menu-item name="NewProductionRun" title="${uiLabelMap.CreateProductionRun}"> <link target="nProductionRunLayer" link-type="layered-modal" width="1000" height="400"/> </menu-item> This should show a modal window (as per attached image #1) that fits the form. In stead it shows a modal window (as per attached image #2) where fields run outside the window. > Layered-Modal menu item does not respect width and height parameters > -------------------------------------------------------------------- > > Key: OFBIZ-6927 > URL: https://issues.apache.org/jira/browse/OFBIZ-6927 > Project: OFBiz > Issue Type: Sub-task > Components: framework > Affects Versions: Trunk > Reporter: Pierre Smits > Labels: modalwindow, renderer > Fix For: Trunk > > Attachments: Screen Shot 2016-03-18 at 09.42.00.png, Screen Shot > 2016-03-18 at 09.42.39.png > > > When using a link of type 'layered-modal' the renderer doesn't work with the > provided width and height parameters. > e.g.: > {code}<link link-type="layered-modal" target="newProductionRun" width="1000" > height="600"/>{code} should show a modal window with width =1000 and > height=600 pixels. However, the resulting code for the dialog yields: > {code} > autoOpen: false, > title: "New Production Run", > height: 600, > width: 800, > modal: true, > {code} > The used values are from the properties definitions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)