Skip to content

Commit 2a6d8d7

Browse files
committed
Automatically scale
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 0eede1f commit 2a6d8d7

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

plugins/3BandEQ/DistrhoUI3BandEQ.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ DistrhoUI3BandEQ::DistrhoUI3BandEQ()
109109

110110
// set default values
111111
programLoaded(0);
112+
113+
// automatically-scale
114+
setGeometryConstraints(Art::backgroundWidth, Art::backgroundHeight, true, true);
112115
}
113116

114117
// -----------------------------------------------------------------------

plugins/3BandSplitter/DistrhoUI3BandSplitter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ DistrhoUI3BandSplitter::DistrhoUI3BandSplitter()
109109

110110
// set default values
111111
programLoaded(0);
112+
113+
// automatically-scale
114+
setGeometryConstraints(Art::backgroundWidth, Art::backgroundHeight, true, true);
112115
}
113116

114117
// -----------------------------------------------------------------------

plugins/PingPongPan/DistrhoUIPingPongPan.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ DistrhoUIPingPongPan::DistrhoUIPingPongPan()
6262

6363
// set default values
6464
programLoaded(0);
65+
66+
// automatically-scale
67+
setGeometryConstraints(Art::backgroundWidth, Art::backgroundHeight, true, true);
6568
}
6669

6770
// -----------------------------------------------------------------------

0 commit comments

Comments
 (0)