Skip to content

Commit

Permalink
Make the Copy Info to Clipboard hitbox a bit wider (#7962)
Browse files Browse the repository at this point in the history
Hopefully addresses #7953
  • Loading branch information
mkruselj authored Jan 15, 2025
1 parent 93790f4 commit 9673828
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/surge-xt/gui/overlays/AboutScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ struct ClipboardCopyButton : public juce::TextButton, Surge::GUI::SkinConsumingC
}

g.setFont(skin->fontManager->getLatoAtSize(10));
g.drawText("Copy Info to Clipboard", getLocalBounds(), juce::Justification::centred, false);
g.drawText("Copy Info to Clipboard", getLocalBounds(), juce::Justification::centredLeft,
false);
}
};

Expand Down Expand Up @@ -271,7 +272,7 @@ void AboutScreen::resized()

copyButton = std::make_unique<ClipboardCopyButton>();
copyButton->setSkin(skin, associatedBitmapStore);
copyButton->setBounds(margin + 4, h0 - lHeight - 4, 100, 16);
copyButton->setBounds(margin + 4, h0 - lHeight - 4, 112, 16);
copyButton->addListener(this);

addAndMakeVisible(*copyButton);
Expand Down

0 comments on commit 9673828

Please sign in to comment.