1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:58:12 +00:00

LibGUI: Make inline editing work in ColumnsView

All it took was overriding content_rect() :^)
This commit is contained in:
Andreas Kling 2020-09-24 11:50:47 +02:00
parent f52527ef9c
commit 5a0b1c46aa
2 changed files with 18 additions and 2 deletions

View file

@ -38,6 +38,7 @@ public:
void set_model_column(int column) { m_model_column = column; }
virtual ModelIndex index_at_event_position(const Gfx::IntPoint&) const override;
virtual Gfx::IntRect content_rect(const ModelIndex&) const override;
private:
ColumnsView();