p:schedule box height hakkında

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
hostogle
Posts: 4
Joined: 07 Feb 2020, 16:46

08 Apr 2020, 22:15

Merhaba,
p:schedule 'ın boyu çok uzun ve küçük ekranlarda sorun çıkartıyor, burayı biraz küçültmek istiyorum ama css bir çok yöntem denememe rağmen burayı küçültemiyorum.
yardımcı olabilir misiniz lütfen ?

http://prntscr.com/rvnqlp

Code: Select all

<p:schedule locale="tr" id="schedule"  value="#{carTransactionBean.eventModel}" widgetVar="myschedule">
    <p:ajax event="eventSelect" listener="#{carTransactionBean.onEventSelect}" update="eventDetails" oncomplete="PF('eventDialog').show();" />
</p:schedule>

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

09 Apr 2020, 16:09

Merhaba,

schedule ın dışına wrapper bir element verip onun width ve height ı ile schedule ın boyutlarını değiştirebilirsiniz.

Code: Select all

<div style="max-width: 600px; max-height: 500px">
    <p:schedule id="schedule" value="#{scheduleJava8View.eventModel}" leftHeaderTemplate="prev,next"/>
</div>

hostogle
Posts: 4
Joined: 07 Feb 2020, 16:46

09 Apr 2020, 21:42

aragorn wrote:
09 Apr 2020, 16:09
Merhaba,

schedule ın dışına wrapper bir element verip onun width ve height ı ile schedule ın boyutlarını değiştirebilirsiniz.

Code: Select all

<div style="max-width: 600px; max-height: 500px">
    <p:schedule id="schedule" value="#{scheduleJava8View.eventModel}" leftHeaderTemplate="prev,next"/>
</div>
teşekkür ederim yardımlarınız için.

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

12 Apr 2020, 16:43

Rica ederim, iyi çalışmalar ;)

Post Reply

Return to “Prestige - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest