13
0
livetrax/libs/widgets
Robin Gareus 8508b3dba4
Allow multiple sizing texts for ArdourButton/Dropdown
A widget's style (font) is only set after the widget has been
packed and inherits relevant information from the top-level window.

`set_size_request_to_display_given_text()` produces incorrect
results when it is called for widgets without a top-level
(here ARDOUR_UI::setup_windows() _main_window.add(), changes the
font from "Sans 11" to "Sans 9" for ArdourDropdowns).

`set_size_request_to_display_given_text()` must subscribe to
`signal_style_changed()`, however in case of ArdourButton UI-scaling
of elements also needs to be taken into account. It is preferable
to allow for multiple sizing-texts directly.
2022-09-20 02:35:26 +02:00
..
MSVCwidgets
widgets Allow multiple sizing texts for ArdourButton/Dropdown 2022-09-20 02:35:26 +02:00
ardour_button.cc Allow multiple sizing texts for ArdourButton/Dropdown 2022-09-20 02:35:26 +02:00
ardour_ctrl_base.cc Separate ArdourKnob core functionality into abstract base class 2022-08-05 01:10:35 +02:00
ardour_display.cc
ardour_dropdown.cc
ardour_fader.cc ardourfader: more complete support for explicit fg 2022-08-11 00:07:30 -06:00
ardour_icon.cc
ardour_knob.cc ArdourKnob: allow annotation, faceplate 2022-08-05 01:10:42 +02:00
ardour_spacer.cc
ardour_spinner.cc
barcontroller.cc
binding_proxy.cc
choice.cc
eventboxext.cc
fastmeter.cc
focus_entry.cc
frame.cc
pane.cc
paths_dialog.cc
popup.cc
prompter.cc
scroomer.cc
searchbar.cc
slider_controller.cc
stateful_button.cc
tabbable.cc
tearoff.cc
tooltips.cc
ui_config.cc
wscript Separate ArdourKnob core functionality into abstract base class 2022-08-05 01:10:35 +02:00