1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00

Small tweak to the bluetooth iOS menu to make it as wide as possible on small screens

This commit is contained in:
jules 2016-10-12 09:25:13 +01:00
parent 773e7087cd
commit bacf194dda

View file

@ -80,7 +80,7 @@ private:
const int ph = getParentHeight();
nativeSelectorComponent.setBounds (Rectangle<int> (pw, ph)
.withSizeKeepingCentre (jmin (400, pw - 14),
.withSizeKeepingCentre (jmin (400, pw),
jmin (450, ph - 40)));
}