1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00

Projucer: Tweaked some button alignment in the project and live-build tabs

This commit is contained in:
ed 2017-10-26 16:18:37 +01:00
parent 0b2822f819
commit d9a49cf8a5
3 changed files with 5 additions and 5 deletions

View file

@ -124,9 +124,9 @@ public:
{
auto bounds = getLocalBounds();
auto bottomSlice = bounds.removeFromBottom (25);
bottomSlice.removeFromRight (5);
settingsButton->setBounds (bottomSlice.removeFromRight (25).reduced (2));
settingsButton->setBounds (bounds.removeFromBottom (25)
.removeFromRight (25)
.reduced (3));
if (errorMessageLabel != nullptr)
{

View file

@ -161,7 +161,7 @@ public:
void resized() override
{
concertinaPanel.setBounds (getLocalBounds());
concertinaPanel.setBounds (getLocalBounds().withTrimmedBottom (3));
}
TreePanelBase* getTreeWithSelectedItems()

View file

@ -214,7 +214,7 @@ public:
if (addButton != nullptr || settingsButton != nullptr || findPanel != nullptr)
{
auto bottomSlice = bounds.removeFromBottom (25);
bottomSlice.removeFromRight (5);
bottomSlice.removeFromRight (3);
if (addButton != nullptr)
addButton->setBounds (bottomSlice.removeFromRight (25).reduced (2));