• Lukas Piotrowski
    November 18, 2016 at 4:05 am #3113

    Hello,

    I would like to ask, how to set a fixed width field label outputText or DataPicker? I would like to get the following effect:

    Label_name        value

    aaaa                           bbbbb
    aaaaaa                       bbbbbb
    aa                               bbbb
    a                                 bbbbbb

     

     

    SPARK Support
    November 21, 2016 at 3:35 pm #3142

    Hi Lukas,

    I think you want to try dropping one of these options into a custom HTML control along with your control in a CV.  Both adhere to a specified width.  One prevents overflow, the other will wrap the text.

    <style>
    .control-label {
    overflow: hidden;
    text-overflow: ellipsis;
    width: inherit;
    }
    </style>

    OR

    <style>
    .control-label {
    white-space: normal !important;
    }
    </style>

    Regards,

    Stephen P.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search