Hi Harald,

Yes, it might be a problem. List view is build with flexbox, that means
that if the the content of the action items is different, it changes the
size of the column.

One solution can be to fix the with of the action column on your
implementation.

We've recently introduced pf-list, it's an elegant empty shell to create
lists. Inside you can flex elements of just use bootstrap grid if you want.
There is also an example we've build with a complete row:

https://rawgit.com/patternfly/patternfly/master-dist/dist/tests/list-pf.html

The new list structure should solve your issue, but ping me on slack if it
doesn't and we can work together in a solution.

Thanks!

Andrés




On Tue, Jul 18, 2017 at 4:38 AM, Harald Pehl <[email protected]> wrote:

> I'm using a list view to display executions of a batch job
> (application is the WildFly management console). Depending on the
> execution status (started, failed, completed), I show different or no
> action buttons on each row.
>
> If there are buttons with different labels or rows w/ and w/o buttons,
> the alignment of the other parts (heading, description, additional
> info) is broken.
>
> Is this a known problem? If so is there a workaround?
>
> Thanks
> Harald
>
> --
> Harald Pehl
> Senior Software Engineer
> Red Hat
> [email protected]
> Twitter: @redhatway | Instagram: @redhatinc | Snapchat: @redhatsnaps
>
> _______________________________________________
> PatternFly mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/patternfly
>
_______________________________________________
PatternFly mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/patternfly

Reply via email to