Robin Gareus
8508b3dba4
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. |
||
---|---|---|
.. | ||
ardour_button.h | ||
ardour_ctrl_base.h | ||
ardour_display.h | ||
ardour_dropdown.h | ||
ardour_fader.h | ||
ardour_icon.h | ||
ardour_knob.h | ||
ardour_spacer.h | ||
ardour_spinner.h | ||
barcontroller.h | ||
binding_proxy.h | ||
choice.h | ||
eventboxext.h | ||
fastmeter.h | ||
focus_entry.h | ||
frame.h | ||
pane.h | ||
paths_dialog.h | ||
popup.h | ||
prompter.h | ||
scroomer.h | ||
searchbar.h | ||
slider_controller.h | ||
stateful_button.h | ||
tabbable.h | ||
tearoff.h | ||
tooltips.h | ||
ui_config.h | ||
visibility.h |