summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-20 18:12:49 +0200
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-20 18:12:49 +0200
commitfcadcac7e7c6959c0306bfadaf21ded20a2ea5ea (patch)
tree637b8672e0037aebd8b82a04f7331cc19d0deec4 /gtk2_ardour/automation_time_axis.cc
parentaed07c49987b497c225944059f4da72ab64a4cff (diff)
Make knobs size requests dynamic
At the point of creation, the automate_button size request is wrong since it has not the correct style yet. Instead of trying ugly hacks to fix that, connect to the knob's size_request signal and get the button's requisition only when needed. If the system font changes to one that has different extents (even if the point size is the same), the UI will thus correctly update.
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
0 files changed, 0 insertions, 0 deletions