Browse Source

tags/2021-05-28
jules 17 years ago
parent
commit
f4c99a22a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/juce_appframework/gui/components/controls/juce_Slider.cpp

+ 1
- 1
src/juce_appframework/gui/components/controls/juce_Slider.cpp View File

@@ -809,7 +809,7 @@ void Slider::resized()
if (textBoxPos == TextBoxLeft || textBoxPos == TextBoxRight) if (textBoxPos == TextBoxLeft || textBoxPos == TextBoxRight)
minXSpace = 30; minXSpace = 30;
else else
minYSpace = 30;
minYSpace = 15;
const int tbw = jmax (0, jmin (textBoxWidth, getWidth() - minXSpace)); const int tbw = jmax (0, jmin (textBoxWidth, getWidth() - minXSpace));
const int tbh = jmax (0, jmin (textBoxHeight, getHeight() - minYSpace)); const int tbh = jmax (0, jmin (textBoxHeight, getHeight() - minYSpace));


Loading…
Cancel
Save