mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
LibGUI: Remove usages of deprecated implicit conversions
This commit is contained in:
parent
8dd08d47f1
commit
603034759f
5 changed files with 13 additions and 12 deletions
|
@ -411,7 +411,7 @@ void AbstractTableView::layout_headers()
|
|||
int y = frame_thickness();
|
||||
int width = max(content_width(), rect().width() - frame_thickness() * 2 - row_header_width - vertical_scrollbar_width);
|
||||
|
||||
column_header().set_relative_rect(x, y, width, column_header().min_size().height());
|
||||
column_header().set_relative_rect(x, y, width, column_header().effective_min_size().height().as_int());
|
||||
}
|
||||
|
||||
if (row_header().is_visible()) {
|
||||
|
@ -422,7 +422,7 @@ void AbstractTableView::layout_headers()
|
|||
int y = frame_thickness() + column_header_height - vertical_scrollbar().value();
|
||||
int height = max(content_height(), rect().height() - frame_thickness() * 2 - column_header_height - horizontal_scrollbar_height);
|
||||
|
||||
row_header().set_relative_rect(x, y, row_header().min_size().width(), height);
|
||||
row_header().set_relative_rect(x, y, row_header().effective_min_size().width().as_int(), height);
|
||||
}
|
||||
|
||||
if (row_header().is_visible() && column_header().is_visible()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue