Picklist with Responsive=True not sizing properly

jQuery UI Widgets
Post Reply
Aklimar
Posts: 10
Joined: 09 Dec 2015, 22:21

07 Jun 2016, 17:17

Primefaces v5.3

I have an issue where I create a panel and put a picklist into it with the responsive feature turned on. The panel is the width of the screen, but the picklist is only sized at ~70%.

Code: Select all

<p:panel id="netConfigGroupAssignDevicesPanel" style="border: none">
    <p:pickList id="netConfigGroupAssignDevicesPickList" 
                     value="#{networkConfigGroupsAssignDevicesController.devices}"
                     var="device"
                     responsive="true"
                     converter="#{deviceConverter}"
                     itemValue="#{device}"
                     itemLabel="#{device.macAddress}">

        <f:facet name="sourceCaption">Available</f:facet>
        <f:facet name="targetCaption">Assigned</f:facet>
    </p:pickList>
</p:panel>
Interestingly enough, once I turn on the source and target controls (i.e. showSourceControls="true" and showTargetControls="true"), THEN the picklist truely fills out the panel (see Primeface's Responsive Showcase). Is this intended behavior or a bug?

Post Reply

Return to “PrimeUI”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests