selectBooleanCheckbox Align Problem

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
sergiolemos
Posts: 5
Joined: 18 Nov 2016, 18:35
Contact:

05 Jan 2017, 19:03

Hello, I'm Sérgio Lemos and I bought the ULTIMA premium theme, however I'm having problems using the component p: selectBooleanCheckbox because its alignment is wrong, how can I fix it? Since I bought the theme I can not use this component properly because of its alignment, and as I bought it, I thought there would be no layout issues.

Image

https://drive.google.com/file/d/0B0sznX ... pUTGM/view

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

06 Jan 2017, 08:12

Hi @sergiolemos,

Which PrimeFaces version are you using? Please try 6.0.13.

sergiolemos
Posts: 5
Joined: 18 Nov 2016, 18:35
Contact:

11 Jan 2017, 15:39

I do not have access to version 6.0.13 download by maven, I'm not primefaces elite / pro, just bought the theme

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

12 Jan 2017, 08:44

Please try;

Code: Select all

<style type="text/css">
   body.layout-compact .ui-chkbox.myBooleanCheckbox .ui-chkbox-label {
      margin: 0 0 0 8px;
   }
            
   body.layout-compact .ui-chkbox.myBooleanCheckbox {
      width: auto;
   }
</style>

// xhtml
<p:selectBooleanCheckbox itemLabel="Hello World!" styleClass="myBooleanCheckbox"></p:selectBooleanCheckbox>

sergiolemos
Posts: 5
Joined: 18 Nov 2016, 18:35
Contact:

12 Jan 2017, 15:26

thanks for help, good job

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

12 Jan 2017, 15:32

You're welcome!

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest