-
1. Re: <rich:inputNumberSpinner> visualization problem inside a
sergeysmirnov Mar 29, 2007 2:07 PM (in response to demetrio812)you can use the pre-defined css classes (see the documentation) to keep the look-n-fell in good shape.
We will investigate this case anyway - http://jira.jboss.com/jira/browse/RF-47 -
2. Re: <rich:inputNumberSpinner> visualization problem inside a
nbelaevski Apr 3, 2007 4:01 PM (in response to demetrio812)Demetrio,
I've added screenshot to the bug. Can you please look at it? I cannot see the problem now. It would be very helpful for us to get screenshot and markup you have problems with. Thank you in advance! -
3. Re: <rich:inputNumberSpinner> visualization problem inside a
demetrio812 Apr 3, 2007 4:30 PM (in response to demetrio812)Hi,
maybe it's a problem of mine, I upload how the spinner and the slider looks like...
here the image:
I embedded them inside a panelGrid with redefined css classes:<h:panelGrid columns="3" rowClasses="Table1Row1, Table1Row2" styleClass="Table1">
Here the css:.Table1{ border-collapse: collapse; } .Table1 th, .Table1 td{ border: 1px solid #C0C0C0; padding: 6px; vertical-align: top; } .Table1 th{ background-color: #E2F6E2; color: #000000 !important; text-align: center; } .Table1 tr{ background-color: #FFFFFF; } .Table1 td{ } .Table1 div { padding: 2px 18px 0 8px; height: 19px; white-space: nowrap; overflow: hidden; } .Table1Row1 td{ } .Table1Row2 td{ background-color: #f1f5f8; }
for example I noticed that also padding give problem, but I think the component must be independent from the table it is inserted in...
thanks a lot!
Demetrio -
4. Re: <rich:inputNumberSpinner> visualization problem inside a
sergeysmirnov Apr 3, 2007 5:21 PM (in response to demetrio812)Ok, Demetrio. It is your manner of defining styles makes the look-n-feel so disgusted.
Do not forget if you say
.Table1 td {
....
}
not only the td of the table with class="Table1" has this style, but any td of any table that you have inside this table.
As soon as inputNumberSpinner has a table layout, you just smashed it out with those bunch of styles. -
5. Re: <rich:inputNumberSpinner> visualization problem inside a
demetrio812 Apr 3, 2007 5:30 PM (in response to demetrio812)Hi,
I see I didn't know that it was valid also for more nested tds...
sorry for making you guys loose time...and thanks for your very good products!!
Demetrio