mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 01:38:52 +00:00
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.
This commit is contained in:
parent
e418bdf95b
commit
49a5038a1a
Notes:
sideshowbarker
2024-07-19 03:07:46 +09:00
Author: https://github.com/awesomekling
Commit: 49a5038a1a
1 changed files with 3 additions and 0 deletions
|
@ -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() };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue