diff --git a/modules/juce_audio_utils/native/juce_BluetoothMidiDevicePairingDialogue_ios.mm b/modules/juce_audio_utils/native/juce_BluetoothMidiDevicePairingDialogue_ios.mm index 0a003214f7..e32ada9d91 100644 --- a/modules/juce_audio_utils/native/juce_BluetoothMidiDevicePairingDialogue_ios.mm +++ b/modules/juce_audio_utils/native/juce_BluetoothMidiDevicePairingDialogue_ios.mm @@ -92,12 +92,15 @@ private: const int pw = getParentWidth(); const int ph = getParentHeight(); + setBounds (0, 0, getParentWidth(), getParentHeight()); + nativeSelectorComponent.setBounds (Rectangle (pw, ph) .withSizeKeepingCentre (jmin (400, pw), jmin (450, ph - 40))); } else { + setBounds (bounds); nativeSelectorComponent.setBounds (bounds.withZeroOrigin()); } }