p:calendar - width

UI Components for JSF
User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

21 Nov 2013, 12:08

Dune89 wrote:To Modify Width you can use <p:calendar size="5" >
No use to raise or helping old threads.Read this thread fully http://forum.primefaces.org/viewtopic.php?f=3&t=1194
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

vandanaba1989
Posts: 1
Joined: 09 Jul 2014, 13:17

09 Jul 2014, 13:20

you can use size attribute to set the width of <p:calendar>

Code: Select all

 <p:calendar id="button" showOn="button" size="7"/> 


works perfectly fine
-------------------------------
Vandana Acharya

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

09 Jul 2014, 13:43

Welcome to Primefaces.

As I said eariler some time

sudheer wrote:No use to raise or helping old threads.Read this thread fully http://forum.primefaces.org/viewtopic.php?f=3&t=1194
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

User avatar
Divyesh Kanzariya
Posts: 2
Joined: 03 Apr 2017, 14:40
Contact:

12 Sep 2017, 14:58

Use styleClass="myClass"

and in css use for example:

.myClass input {
width: 180px;
}
Java Developer at iKraft Solutions and Blogger at Java Tutorial
Primefaces :ugeek: Lover

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests