From 49a5038a1aca68b766805788f8e28e22372d91fb Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 26 Aug 2020 14:20:43 +0200 Subject: [PATCH] LibGUI: Avoid implementing vertical HeaderView section resize for now Resizable rows will require a bunch of changes in the table view layout code, so let's not make the normal resizing areas grabbable for now. --- Libraries/LibGUI/HeaderView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Libraries/LibGUI/HeaderView.cpp b/Libraries/LibGUI/HeaderView.cpp index c264b0661b..8ffb74fb84 100644 --- a/Libraries/LibGUI/HeaderView.cpp +++ b/Libraries/LibGUI/HeaderView.cpp @@ -104,6 +104,9 @@ Gfx::IntRect HeaderView::section_resize_grabbable_rect(int section) const { if (!model()) return {}; + // FIXME: Support resizable rows. + if (m_orientation == Gfx::Orientation::Vertical) + return {}; auto rect = section_rect(section); return { rect.right() - 1, rect.top(), 4, rect.height() }; }