From 432e713cacd8defab596a83c70d9966fdee664a9 Mon Sep 17 00:00:00 2001 From: Jarod42 Date: Sun, 29 Sep 2024 23:58:56 +0200 Subject: [PATCH] [example] Fix typo, remove duplicated code --- examples/widgets_example.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/widgets_example.hpp b/examples/widgets_example.hpp index ab91954..6dbc031 100644 --- a/examples/widgets_example.hpp +++ b/examples/widgets_example.hpp @@ -68,8 +68,6 @@ namespace WidgetsExample imageTextButton->setAlignment(gcn::ImageTextButton::TOP); imageTextButton->addActionListener(this); - imageButton->setSize(220, 90); - imageButton->addActionListener(this); inputBox = std::make_unique("Change name", " Set name of label "); inputBox->setVisible(false);