Coding Duchess
Coding Duchess

Reputation: 6899

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

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?

Upvotes: 0

Views: 1236

Answers (1)

Littlefoot
Littlefoot

Reputation: 142705

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

Upvotes: 0

Related Questions