https://pasteboard.co/IJOtQqM.png
As you see in the image, the boxes are not aligned properly. This happens on Windows but looks fine when using Linux or Mac.
Is this a known problem?
Regards,
BTJ
Paging boxes are not aligned on Windows
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
- No, I'll check this issue and get back to you.Is this a known problem?
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Fixed for the next version. For now, please use the following css style;
Best Regards,
Code: Select all
body .ui-paginator .ui-paginator-pages .ui-paginator-page {
padding: 7px 12px 6px;
}
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Interesting! Could you please check the above style in the inspector of browser? If it is available, you can change padding values.
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
Yes, it's availabe but changing the padding values does not move the box up, only down.
Also, did some more testing. I have a button in the paging row and it seems to be the component guilty of the problem. If I remove the button, it displays ok also in Windows. Adding the button, the layout is not aligned in Windows (but ok on Mac and Linux). Not sure why Windows is different here?
The code looks like this:
Also, did some more testing. I have a button in the paging row and it seems to be the component guilty of the problem. If I remove the button, it displays ok also in Windows. Adding the button, the layout is not aligned in Windows (but ok on Mac and Linux). Not sure why Windows is different here?
The code looks like this:
Code: Select all
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown} {AddRecord}" emptyMessage="No records found"
<f:facet name="{AddRecord}">
<p:commandButton value="Add record" icon="fa fa-plus" action="#{mainController.addRecord}" style="width: 120px; margin-top: 0px; margin-bottom: 0px" />
</f:facet>
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium
Mac OS, Firefox and Chromium
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
- I really don't know either. This is related to the implementations of browsers according to OS. Because there is no rule to detect OS on CSS.Not sure why Windows is different here?
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Could you please try the following style with the above style?
Code: Select all
body .ui-paginator .ui-paginator-pages {
vertical-align: baseline;
}
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests