title: Primeng p-calendar same size as parent
body: <p>I am using p-calendar from the primeng within a tabletree. How can I make the p-calendar field same size as the cell it sits in? Or mor general - how can I make it same size as a parent div?</p>
  
  <p>You can make it work with absolute width using style and inputStyle - but my table is resizable - so it doesnt work in this case. I tried as recommended at various places:</p>
  
  <pre><code>&lt;p-calendar appendTo="body"  [style]="{'width':'95%'}" [inputStyle]="{'width':'95%'}"
  &lt;/p-calendar&gt;
  </code></pre>
  
  <p>But this doesnt work since the button of the date selector has a fixed size.</p>
  
  <p>This appears to me to be a very basic requirement - being able to make a component same size as its parent. Really surprised this doesnt work.</p>
  
  <p>Thanks,
  Michael</p>