summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-12-28 13:38:35 +0100
committerRobin Gareus <robin@gareus.org>2016-12-28 13:38:49 +0100
commit0869aa0f6c045bea9ae3b1a030570f27faa90358 (patch)
tree610b7293fee4dd976314881bcf824b86a079a77c /gtk2_ardour/option_editor.cc
parent27ee53bf8f40831bf8c130aed6be2369c154e13f (diff)
Add Locale config preferences and rearrange UI prefs
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r--gtk2_ardour/option_editor.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index f34bab1b2b..1317d166c4 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -103,9 +103,15 @@ OptionEditorHeading::add_to_page (OptionEditorPage* p)
{
int const n = p->table.property_n_rows();
p->table.resize (n + 2, 3);
+ if (!_note.empty ()) {
+ p->table.resize (n + 3, 3);
+ } else {
+ p->table.resize (n + 2, 3);
+ }
p->table.attach (*manage (new Label ("")), 0, 3, n, n + 1, FILL | EXPAND);
p->table.attach (*_label, 0, 3, n + 1, n + 2, FILL | EXPAND);
+ maybe_add_note (p, n + 2);
}
void