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:
parent
0b2822f819
commit
d9a49cf8a5
3 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ public:
|
|||
|
||||
void resized() override
|
||||
{
|
||||
concertinaPanel.setBounds (getLocalBounds());
|
||||
concertinaPanel.setBounds (getLocalBounds().withTrimmedBottom (3));
|
||||
}
|
||||
|
||||
TreePanelBase* getTreeWithSelectedItems()
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue