mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibGUI: Use ControlBoxButtons in SpinBox and ComboBox
Converts the buttons of these widgets into ControlBoxButtons.
This commit is contained in:
parent
bf59cd7ca5
commit
c90fe7ce93
4 changed files with 12 additions and 11 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue