mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Projucer: Selected colour scheme is now stored and recalled. Multiple fixes for unreadable text in the GUI editor
This commit is contained in:
parent
359238f0ed
commit
cf0e97fcc7
13 changed files with 151 additions and 69 deletions
|
|
@ -264,7 +264,6 @@ public:
|
|||
addAndMakeVisible (cancelButton = new TextButton ("Cancel Button"));
|
||||
cancelButton->setButtonText (TRANS("Cancel"));
|
||||
cancelButton->addListener (this);
|
||||
cancelButton->setColour (TextButton::buttonColourId, findColour (secondaryButtonBackgroundColourId));
|
||||
|
||||
addAndMakeVisible (changeLogLabel = new Label ("Change Log Label",
|
||||
TRANS("Release Notes:")));
|
||||
|
|
@ -303,6 +302,8 @@ public:
|
|||
BinaryData::juce_icon_pngSize);
|
||||
|
||||
setSize (518, overwritePath ? 345 : 269);
|
||||
|
||||
lookAndFeelChanged();
|
||||
}
|
||||
|
||||
~UpdateUserDialog()
|
||||
|
|
@ -394,6 +395,13 @@ private:
|
|||
ScopedPointer<TextButton> overwriteButton;
|
||||
ScopedPointer<Drawable> juceIcon;
|
||||
|
||||
void lookAndFeelChanged() override
|
||||
{
|
||||
cancelButton->setColour (TextButton::buttonColourId,
|
||||
findColour (secondaryButtonBackgroundColourId));
|
||||
changeLog->applyFontToAllText (changeLog->getFont());
|
||||
}
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (UpdateUserDialog)
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue