summaryrefslogtreecommitdiff
path: root/plugingui/bleedcontrolframecontent.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-05-26 00:42:40 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-05-26 00:42:40 +0200
commit7202cbf9e1ffdc19c5fbe46017ce8d1c9f8e467a (patch)
treed236eba31f7fe09c567cf5fa9c997bf24fb37717 /plugingui/bleedcontrolframecontent.cc
parentdc244432932a2e727f0dec191861e4b46c327269 (diff)
Modify look of bleed control frame and add switch.
Also remove useless TODO and FIXME.
Diffstat (limited to 'plugingui/bleedcontrolframecontent.cc')
-rw-r--r--plugingui/bleedcontrolframecontent.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugingui/bleedcontrolframecontent.cc b/plugingui/bleedcontrolframecontent.cc
index 51ecf2a..5d28169 100644
--- a/plugingui/bleedcontrolframecontent.cc
+++ b/plugingui/bleedcontrolframecontent.cc
@@ -41,7 +41,7 @@ BleedcontrolframeContent::BleedcontrolframeContent(Widget* parent,
, settings(settings)
, settings_notifier(settings_notifier)
{
- label_text.setText("Amount of Microphone Bleed:");
+ label_text.setText("Master Bleed Volume:");
label_text.setAlignment(TextAlignment::center);
label_value.setText("0 %");
@@ -58,10 +58,11 @@ void BleedcontrolframeContent::resize(std::size_t width, std::size_t height)
Widget::resize(width, height);
slider_width = 0.8 * width;
+ auto x_start = 0.1 * width;
- label_text.move(0, 0);
- slider.move(0, 20);
- label_value.move(0, 40);
+ label_text.move(x_start, 0);
+ slider.move(x_start, 20);
+ label_value.move(x_start, 40);
label_text.resize(slider_width, 15);
slider.resize(slider_width, 15);