Please, I need some guidance. I am having difficulties with adjusting the size of the header Label for the notification windows displayed by SC.warn(), SC.ask(), etc.
I was able to adjust the header label height for the regular smart client Window by using this code:
But I don't know how to do this for the SC notification dialog boxes.
To add to this, I am able to adjust the text inside the headers using CSS, but because of the label height, the text is cut on the bottom. Hence trying to adjust header label height. I was trying to figure out using CSS, but the class associated with it is "normal", which affects everything on the page :).
Thank you!
I was able to adjust the header label height for the regular smart client Window by using this code:
Code:
public CustomWindow() { Map<String, Object> headerDefaults = new HashMap<String, Object>(); Integer newHeight = 25; headerDefaults.put("height", newHeight); this.setAttribute("headerDefaults", headerDefaults, true); }
To add to this, I am able to adjust the text inside the headers using CSS, but because of the label height, the text is cut on the bottom. Hence trying to adjust header label height. I was trying to figure out using CSS, but the class associated with it is "normal", which affects everything on the page :).
Thank you!
Comment