I can not disable the size grip on a dialog on a Mac.

I can do it by fixing the dialog size but I need the dialog to resize when language changes cause elements to resize. I need automatic resizing but I need to prevent the user changing the size. Is there a way to work around the setSizeGripEnabled(false) not working on a Mac.