mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Fix for HyperlinkButton::changeWidthToFitText
This commit is contained in:
parent
e74698bed4
commit
ca43af451a
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ Font HyperlinkButton::getFontToUse() const
|
|||
|
||||
void HyperlinkButton::changeWidthToFitText()
|
||||
{
|
||||
setSize (getFontToUse().getStringWidth (getName()) + 6, getHeight());
|
||||
setSize (getFontToUse().getStringWidth (getButtonText()) + 6, getHeight());
|
||||
}
|
||||
|
||||
void HyperlinkButton::colourChanged()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue