mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:58:11 +00:00
LibGUI: Make GCheckBox inherit from GAbstractButton.
This commit is contained in:
parent
21c56477b0
commit
677794f30d
9 changed files with 25 additions and 97 deletions
|
@ -113,7 +113,7 @@ GWindow* make_launcher_window()
|
|||
|
||||
auto* checkbox = new GCheckBox(widget);
|
||||
checkbox->set_relative_rect({ 5, 170, 90, 20 });
|
||||
checkbox->set_caption("CheckBox");
|
||||
checkbox->set_text("CheckBox");
|
||||
|
||||
window->set_focused_widget(textbox);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue