-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Individual knob labels rendered using the widget font #7525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 13 commits
6863e01
845b51f
bbca164
21ba9f3
01a46d0
f72290a
eb6d27f
ee2ccb6
e065d24
86a5ca0
b891120
cd43423
d31c90e
39e1e9f
3991612
e66d841
c4077e9
4d95ec8
5f55bd8
b2cd6f4
1ecdc89
794bce5
02602d1
e32d0ce
caac12c
0e55ba3
61c436c
ba2e8a5
24e172a
84b5458
662bd98
7037a74
181d5cc
2e576d4
8d1ae33
176a165
d404709
967f80a
2825716
18e7d3c
43a31aa
440cea1
41c4f6e
9ca18e0
ede67e3
4d03777
89cd2f5
85aa471
a3fe16e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1007,10 +1007,9 @@ void CarlaParamsView::refreshKnobs() | |
| for (uint32_t i = 0; i < m_carlaInstrument->m_paramModels.size(); ++i) | ||
|
||
| { | ||
| bool enabled = m_carlaInstrument->m_paramModels[i]->enabled(); | ||
| m_knobs.push_back(new Knob(KnobType::Dark28, m_inputScrollAreaWidgetContent)); | ||
| QString name = (*m_carlaInstrument->m_paramModels[i]).displayName(); | ||
| const QString name = (*m_carlaInstrument->m_paramModels[i]).displayName(); | ||
michaelgregorius marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| m_knobs.push_back(Knob::buildLegacyKnob(KnobType::Dark28, name, m_inputScrollAreaWidgetContent)); | ||
| m_knobs[i]->setHintText(name, ""); | ||
| m_knobs[i]->setLabel(name); | ||
| m_knobs[i]->setObjectName(name); // this is being used for filtering the knobs. | ||
|
|
||
| // Set the newly created model to the knob. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.