night
night

Reputation: 11

How to set maximum popup width in Oracle ADF

I work with Oracle ADF 11 and use RichPopup to display messages. By default, the popup width is aligned to the width of the message. Very long message makes popup too wide. Is there any way to bound the maximum popup width with some value, e.g. 300px?

Upvotes: 1

Views: 8025

Answers (3)

Mahdi Esmaeili
Mahdi Esmaeili

Reputation: 575

Use AFStretchWidth style class

<af:popup id="popup1">
     <af:panelWindow id="pw1" styleClass="AFStretchWidth" >

     </af:panelWindow>
</af:popup>

Upvotes: 0

Noah Martin
Noah Martin

Reputation: 1809

You can use a af:dialog and place the message there. Then customize the af:dialog width and height from the property panel and it should be fine.

Upvotes: 1

Siva
Siva

Reputation: 1940

You can set the width and height to a dialogue inside popup

 <af:popup id="supportDocPopup" contentDelivery="lazyUncached" >
     <af:dialog id="d2" **contentHeight="100" contentWidth="300"**>
        </af:dialog>
   </af:popup>

Upvotes: 1

Related Questions