Trying to open a popup using an event script

Hi,

Context:
I'm trying to open a popup using an event script when clicking a component:

def runAction(self, event):
	       system.perspective.togglePopup(
	       id=self.view.custom.PopupID,
	       title=self.view.custom.tag + ' - ' + self.view.custom.description,
	       view='Templates_HighPerformance/Popups/Regulator/PopUp_Regulator_test',
	       params = {'PopupID':self.view.custom.PopupID,'TagPath':self.view.params.tagPath},
           resizable='false',
           position = {'top':event.pageY,'left':event.pageX}
	       )

Now when opening this popup it looks like this with a long title:

When using a shorter title it looks like this (how it's supposed to be):

When clicking the button, the popup expands to the right (this works).

Question:
How/where can I edit or add CSS code to hide the title when there is overflow in the header.

The css mention in my reply can be added in the advanced style sheet.css

1 Like