mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Replaced rollover help on the config pages.
This commit is contained in:
parent
3352b9238a
commit
44b9f93564
1 changed files with 5 additions and 1 deletions
|
|
@ -565,6 +565,7 @@ struct ProjectSettingsTreeClasses
|
|||
PropertyPanelViewport (Component* content)
|
||||
{
|
||||
addAndMakeVisible (&viewport);
|
||||
addAndMakeVisible (&rolloverHelp);
|
||||
viewport.setViewedComponent (content, true);
|
||||
}
|
||||
|
||||
|
|
@ -579,10 +580,13 @@ struct ProjectSettingsTreeClasses
|
|||
|
||||
void resized()
|
||||
{
|
||||
viewport.setBounds (getLocalBounds());
|
||||
Rectangle<int> r (getLocalBounds());
|
||||
rolloverHelp.setBounds (r.removeFromBottom (70).reduced (10, 0));
|
||||
viewport.setBounds (r);
|
||||
}
|
||||
|
||||
Viewport viewport;
|
||||
RolloverHelpComp rolloverHelp;
|
||||
|
||||
private:
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PropertyPanelViewport);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue