Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    how to valign items in listgrid

    Hi,
    How can I verticaly align top the checkboxes and the button at the right? (see attachment-1)
    For the checkboxes, I used "css-style: vertical-align: top;" but I have read somewhere, that we should use smartgwt-layouting instead of css. But with css it works fine.

    Additionlly if I click into the textfield (see attachment-2), I use a AutoFitTextAreaItem as edit-item, which is higher than the text was before the click. The rows below are shifted down (including the checkboxes), but the buttons stay fix (which is wrong).

    For the buttons I use IButton.


    (we have a big smartgwt-application with smartgwt-5.0-2015-08-20).

    Attached Files

    #2
    You haven't said anything about how you're rendering those checkboxes. The ones that result from setting the field.type to "boolean" are already center-aligned by default, and if you're not seeing that, you must have changed something - try retesting everything with the default skin and no application-specific CSS. Also make sure you are using the fully patched version, as you are over two years out of date.

    Comment

    Working...
    X