Browse Source

StandaloneFilterWindow: hide title bar on iOS and Android even when not in Kiosk mode.

tags/2021-05-28
Lukasz Kozakiewicz 7 years ago
parent
commit
a2bbd99234
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h

+ 4
- 0
modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h View File

@@ -573,11 +573,15 @@ public:
: DocumentWindow (title, backgroundColour, DocumentWindow::minimiseButton | DocumentWindow::closeButton),
optionsButton ("Options")
{
#if JUCE_IOS || JUCE_ANDROID
setTitleBarHeight (0);
#else
setTitleBarButtonsRequired (DocumentWindow::minimiseButton | DocumentWindow::closeButton, false);
Component::addAndMakeVisible (optionsButton);
optionsButton.addListener (this);
optionsButton.setTriggeredOnMouseDown (true);
#endif
pluginHolder = new StandalonePluginHolder (settingsToUse, takeOwnershipOfSettings,
preferredDefaultDeviceName, preferredSetupOptions,


Loading…
Cancel
Save