mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
LibGUI: Add deprecated suffix to {set_,}tooltip in Widget
This commit is contained in:
parent
9b1e33af69
commit
d978dd4af8
32 changed files with 56 additions and 56 deletions
|
@ -69,7 +69,7 @@ ErrorOr<void> MainWidget::initialize()
|
|||
// FIXME: Implement vertical flipping in GUI::Slider, not here.
|
||||
m_octave_knob = TRY(m_octave_container->try_add<GUI::VerticalSlider>());
|
||||
m_octave_knob->set_preferred_width(GUI::SpecialDimension::Fit);
|
||||
m_octave_knob->set_tooltip("Z: octave down, X: octave up");
|
||||
m_octave_knob->set_tooltip_deprecated("Z: octave down, X: octave up");
|
||||
m_octave_knob->set_range(octave_min - 1, octave_max - 1);
|
||||
m_octave_knob->set_value((octave_max - 1) - (m_track_manager.keyboard()->virtual_keyboard_octave() - 1));
|
||||
m_octave_knob->set_step(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue