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:
parent
f52527ef9c
commit
5a0b1c46aa
2 changed files with 18 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue