Oracle APEX: Text wrapping issue with a display-only page item

755 Views Asked by At

I have a display-only page item on an inline dialog region. The value of the item is set via hidden page item that retrieves the value from the database using PL/SQL.

The issue is that the text is rather long, so instead of text wrapping, it extends beyond the width of the inline dialog causing a horizontal scroll bar to appear. How can I set the width of the page item to be no wider than the inline dialog default width and make the page item text wrap around?

1

There are 1 best solutions below

4
On BEST ANSWER

Did you try to

  • set display only item's template to "optional" (instead of e.g. "optional - floating"), and then
  • set its "custom attributes" property (which is in the "Advanced" set of properties) to e.g. style="width:300px"

Illustration:

Display item width