mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 22:29:13 +00:00
LibGUI: Use ControlBoxButtons in SpinBox and ComboBox
Converts the buttons of these widgets into ControlBoxButtons.
This commit is contained in:
committed by
Andreas Kling
parent
bf59cd7ca5
commit
c90fe7ce93
@@ -31,6 +31,7 @@
|
||||
namespace GUI {
|
||||
|
||||
class ComboBoxEditor;
|
||||
class ControlBoxButton;
|
||||
|
||||
class ComboBox : public Widget {
|
||||
C_OBJECT(ComboBox)
|
||||
@@ -65,7 +66,7 @@ protected:
|
||||
|
||||
private:
|
||||
RefPtr<ComboBoxEditor> m_editor;
|
||||
RefPtr<Button> m_open_button;
|
||||
RefPtr<ControlBoxButton> m_open_button;
|
||||
RefPtr<Window> m_list_window;
|
||||
RefPtr<ListView> m_list_view;
|
||||
bool m_only_allow_values_from_model { false };
|
||||
|
||||
Reference in New Issue
Block a user