ardour/libs/widgets/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
..
ardour_button.h Allow multiple sizing texts for ArdourButton/Dropdown 2022-09-20 02:35:26 +02:00
ardour_ctrl_base.h Separate ArdourKnob core functionality into abstract base class 2022-08-05 01:10:35 +02:00
ardour_display.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
ardour_dropdown.h Add API to set select item from ArdourDropdown 2019-10-20 21:21:57 +02:00
ardour_fader.h ardourfader: basic use of explicit fg/bg color 2022-08-10 22:32:42 -06:00
ardour_icon.h Add folder icon 2022-01-30 22:44:39 +01:00
ardour_knob.h ArdourKnob: allow annotation, faceplate 2022-08-05 01:10:42 +02:00
ardour_spacer.h Update Ardour*Spacer to use theme color 2020-07-21 04:42:07 +02:00
ardour_spinner.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
barcontroller.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
binding_proxy.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
choice.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
eventboxext.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
fastmeter.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
focus_entry.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
frame.h trigger_ui: move old triggerui implementation into slot_properties where it is used 2021-12-30 21:25:39 -06:00
pane.h Constification: make Stateful::get_state() const, with all other required const-ness added (libs) 2022-04-06 21:56:59 -06:00
paths_dialog.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
popup.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
prompter.h Propter may accept current value 2021-04-12 23:16:20 +02:00
scroomer.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
searchbar.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
slider_controller.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
stateful_button.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
tabbable.h Constification: make Stateful::get_state() const, with all other required const-ness added (libs) 2022-04-06 21:56:59 -06:00
tearoff.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
tooltips.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
ui_config.h Honor "floating windows are dialogs" for tearoffs 2021-07-22 05:45:30 +02:00
visibility.h Update canvas/UI lib GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00