[richfaces-issues] [JBoss JIRA] Commented: (RF-11226) more access on CSS Attributes through Skinning

martin bischoff (JIRA) jira-events at lists.jboss.org
Tue Aug 9 09:40:24 EDT 2011


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

martin bischoff commented on RF-11226:
--------------------------------------

Another example where you can't fix the layout with inline-CSS:

- copy plain skin
- change every font-size from *px to 1em
- setup extendedDataTable with some rows and columns and especially letters like 'p', 'g' etc.
=> letters like 'p' and 'g' are cut off in the bottom caused by "padding: 3px 7px;" from '.rf-edt-c-cnt' in extrendedDataTable.ecss

well, this sucks cause a fix with inline-CSS is not possible. change from 'em' to 'px' is no option cause the problem is the font-size itself, not the metric. font-size of 16px or greater behave like 1em or greater :(

> more access on CSS Attributes through Skinning
> ----------------------------------------------
>
>                 Key: RF-11226
>                 URL: https://issues.jboss.org/browse/RF-11226
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: skinning
>    Affects Versions: 4.0.0.Final
>         Environment: Win7 64bit
>            Reporter: martin bischoff
>
> Some CSS-Attribute of your .ecss-files are not accessable through skinning. this hurts really cause i have to fix minor layout bugs with nasty inline-CSS, which is not possible all the time. i would appreciate more control of css-attributes like padding, margin, height etc. throughout the skinning mechanism. example:
> padding-attribute of '.rf-edt-c-cnt' in extrendedDataTable.ecss

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list