Zoom into mouse cursor in widget

I am trying to use a scale box to zoom in and out of a tech tree. The relevant hierarchical structure is the following:
-Border
-Scroll box (vertical scrolling)
-Scroll box (horizontal scrolling)
-Scale box
-Skyll tree UI (Currently grid panel full of test slot widgets as a placeholder)

image

The problem is that when I try to modify the User Specified Scale in the scale box, the zoom pivots around the top left corner of the slot. How can I make it so that it pivots around the mouse cursor?
Thanks in advance!

2 Likes