Page 1 of 2

InputGroup not supported

Posted: 06 Feb 2018, 15:15
by Babas007
Looks ugly with buttons:
Image

Re: InputGroup not supported

Posted: 09 Feb 2018, 11:32
by mert.sincan
We'll check and get back to you.

Re: InputGroup not supported

Posted: 09 Feb 2018, 14:45
by kubrasulukan
Hi,

Please try code blocks that I wrote down.

HTML;

Code: Select all

        <div class="ui-g ui-fluid">
            <div class="card card-w-title">
                <div class="ui-g-12">
                    <div class="ui-inputgroup">
                        <p:inputText placeholder="Vote" />
                        <p:commandButton icon="fa fa-close"/>   
                        <p:commandButton icon="fa fa-check"/> 
                        <p:commandButton icon="fa fa-home"/>   
                    </div>
                </div>
            </div>
        </div>
CSS;

Code: Select all

.ui-fluid .ui-inputgroup .ui-button-icon-only {
    width: 30px;
}

.ui-fluid .ui-inputgroup .ui-button {
    margin-right: 5px;
 }
These are looks like;
Image

Best Regards,

Re: InputGroup not supported

Posted: 12 Feb 2018, 12:10
by Babas007
mmmh are you sure about the pattern? It does not respect the pattern you've been using for calendar (which is basically an inputgroup as well) I was expecting something similar to calendar, like:

Image

Basically it means no background and a border below the buttons

Re: InputGroup not supported

Posted: 13 Feb 2018, 09:16
by kubrasulukan
Hi,
I make this design based on to your post and BarcelonaNg. Calendar icon that you said is inside the calendar component. They are separate components. But if you want to change you can change the style of buttons yourself.
You can check out BarcelonaNg here https://www.primefaces.org/barcelona-ng/#/forms

Regards

Re: InputGroup not supported

Posted: 13 Feb 2018, 11:13
by Babas007
Okay too bad, I actually sent a screenshot of what it should look like on gitter to aragorn (but no answer, as usual...)

When do you plan to release the new version of Barcelona containing all those fixes?

Re: InputGroup not supported

Posted: 14 Feb 2018, 07:44
by kubrasulukan
Right after pf 6.2 version

Regards

Re: InputGroup not supported

Posted: 14 Feb 2018, 14:41
by Babas007
Okay, thanks for providing the changelog once released

Re: InputGroup not supported

Posted: 20 Feb 2018, 09:04
by mert.sincan
on gitter to aragorn (but no answer, as usual...)
- I'm giving all my performance to improve version 6.2/6.1.x in these days. Therefore, I can not respond immediately.

Maybe, you can use the following code if you want it to look like the one above;

Code: Select all

<style type="text/css">
    body .ui-inputgroup .ui-button-icon-only {
        width: 30px;
        background-color: transparent;
        border: 0 none;
        border-bottom: 1px solid #bdbdbd;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-radius: 0;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none; 
    }            

    body .ui-fluid .ui-inputgroup .ui-button-icon-only {
        width: 30px;
    }

    body .ui-inputgroup .ui-button-icon-only .ui-icon{
        color: #757575;
    }

    body .ui-inputgroup .md-inputfield {
        bottom: -9px;
    }

    body .ui-inputgroup .ui-button-icon-only.ui-state-hover {
        background-color: #e8e8e8;
    }

    body .ui-inputgroup .ui-button-icon-only.ui-state-hover .ui-icon {
        color: #000000;
    }

</style>
You can change colors according to the selected theme color.

Exp;

Code: Select all

<div class="ui-g ui-fluid">
            <div class="card card-w-title">
                <div class="ui-g-12">
                    <div class="ui-inputgroup">
                        <p:inputText placeholder="Vote" />
                        <p:commandButton icon="fa fa-close"/>   
                        <p:commandButton icon="fa fa-check"/> 
                        <p:commandButton icon="fa fa-home"/>   
                    </div>
                </div>
            </div>
        </div>
Also, I will discuss this with the design team after 6.2.Final.

Regards,

Re: InputGroup not supported

Posted: 20 Mar 2018, 19:52
by Babas007
Any news regarding the new version of Barcelona?