1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

GWidget: Add "set_autofill" as an alias for set_fill_with_background_color.

This commit is contained in:
Andreas Kling 2019-07-10 21:12:09 +02:00
parent f465de8f76
commit b3d431e390

View file

@ -143,6 +143,8 @@ public:
void set_backcolor(const StringView&) { }
void set_forecolor(const StringView&) { }
void set_autofill(bool b) { set_fill_with_background_color(b); }
GWindow* window()
{
if (auto* pw = parent_widget())