[richfaces-issues] [JBoss JIRA] (RF-13629) popupPanel - cease to autosize its width according to content

Juraj Húska (JIRA) issues at jboss.org
Wed May 14 07:47:57 EDT 2014


    [ https://issues.jboss.org/browse/RF-13629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12967761#comment-12967761 ] 

Juraj Húska edited comment on RF-13629 at 5/14/14 7:46 AM:
-----------------------------------------------------------

I have reproduced it on standalone project, [here|https://github.com/jhuska/richfaces-sanbox/blob/RF-13629/pom.xml]. See also the attachments, where is maybe more visible what is the problem.

In previous releases attributes {{maxHeight}}, {{maxWidth}}, {{minWidth}}, {{minHeight}} were ignored when {{autosize == true}}. 

However, it is not explicitly stated in the documentation. In the same time IMHO they should be ignored, e.g. because of their default values.

Steps to reproduce:
# clone, build and deploy app from https://github.com/jhuska/richfaces-sanbox/tree/RF-13629
# load http://localhost:8080/richfaces-sanbox
# click on Call the popup
# see that popups width is not autosized to 100px (the size of the paragraph inside the panel), but to the {{minWidth}}


was (Author: jhuska):
I have reproduced it on standalone project, [here|https://github.com/jhuska/richfaces-sanbox/blob/RF-13629/pom.xml]. See also the attachments, where is maybe more visible what is the problem.

In previous releases attributes {{maxHeight}}, {{maxWidth}}, {{minWidth}}, {{minHeight}} were ignored when {{autosize == true}}. 

However, it is not explicitly stated in the documentation. In the same time IMHO they should be ignored, e.g. because of their default values.

> popupPanel - cease to autosize its width according to content
> -------------------------------------------------------------
>
>                 Key: RF-13629
>                 URL: https://issues.jboss.org/browse/RF-13629
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-output
>    Affects Versions: 4.3.7
>         Environment: Firefox
>            Reporter: Juraj Húska
>            Priority: Critical
>              Labels: regression
>         Attachments: popupPanelGood.png, popupPanelWrong.png
>
>
> PopupPanel attribute {{autosize}} does not work correctly. It does not change its *width* automatically according to the content size of the panel. Height is adjusted well.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)



More information about the richfaces-issues mailing list