PrimeFlex Space Utils

PrimeFlex is a lightweight responsive CSS utility library to accompany Prime UI libraries and static webpages
Post Reply
matthieu.valente
Posts: 12
Joined: 28 Feb 2016, 16:21

19 Aug 2021, 17:47

Hi,

primefaces migration guide from 8 to 10 states that p:spacer is deprecated and "Spacer -> PrimeFlex Space Utils"

I didn't find an alternative in the spacing area of primeflex v2.
Spacer is a 1 px transparent base 64 image inserted with parametrized width and height

Can you help me understand what would be the replacement for the spacer ?

thanks and regards,
Matthieu

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

27 Oct 2021, 09:40

Hi,

You can use padding or margin attributes with the PrimeFlex library. You can see details in this link; https://primefaces.org/showcase/primeflex/spacing.xhtml

Best regards,
Merve Özçifçi

Post Reply

Return to “PrimeFlex”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests