The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Montaya APi - How do I update my views fonts?

Oussama | Last updated: Jul 23, 2024 07:04AM UTC

I would like to make my extension aware of the current font type & size. In a suite tab I use the following code: ```java @Override public void updateUI() { . . . ``` In said block I set the current font through api.userInterface().currentDisplayFont() - this works very well. When I do the same in a intercept tab, the UI totally glitches out: https://i.imgur.com/Vav8iJk.png Any hints on how to achieve this without having to reload the whole extension? Is there a callback from the API when I can change the fonts?

Oussama | Last updated: Jul 23, 2024 07:20AM UTC

Calling super.updateUI() helps - so I assume updateUI is the way to go

Hannah, PortSwigger Agent | Last updated: Jul 23, 2024 01:09PM UTC