cancel
Showing results for 
Search instead for 
Did you mean: 

How to do a break line in the title of a Dialog UI5

0 Kudos
1,352

Hi,

I have the next Dialog in UI5:

but as you can see it dont shows the entire title, so I want to do a break line in order to show the title in 2 lines and don't have to make widther the dialog. Is it possible?

here is my code for the Dialog:

oDialog = new Dialog({
title: "Are you sure you want to delete  "+var1+" from the .... "+
var2+"?" });
View Entire Topic
junwu
Active Contributor
0 Kudos

you can put that text in content ,not title.

0 Kudos

Yes but if I put in a Label for example I would have the same problem.

junwu
Active Contributor
0 Kudos

I am using sap.m.Text as content, the line break works for me.