Add comments about (Typed)GridView to media grids
This commit is contained in:
parent
981d971fa9
commit
2c2afb4b33
2 changed files with 6 additions and 0 deletions
|
|
@ -40,6 +40,9 @@ impl Component for FilmGrid {
|
|||
set_propagate_natural_height: true,
|
||||
|
||||
#[name="grid"]
|
||||
// TODO: Replace this with a GridView.
|
||||
// Once this is done we can replace the factory with a TypedGridView for better performance
|
||||
// (i.e. lazy item rendering) if needed. This should also enable less cursed sorting.
|
||||
FlowBox {
|
||||
set_orientation: Orientation::Horizontal,
|
||||
set_homogeneous: true,
|
||||
|
|
|
|||
|
|
@ -40,6 +40,9 @@ impl Component for SeriesGrid {
|
|||
set_propagate_natural_height: true,
|
||||
|
||||
#[name="grid"]
|
||||
// TODO: Replace this with a GridView.
|
||||
// Once this is done we can replace the factory with a TypedGridView for better performance
|
||||
// (i.e. lazy item rendering) if needed. This should also enable less cursed sorting.
|
||||
FlowBox {
|
||||
set_orientation: Orientation::Horizontal,
|
||||
set_homogeneous: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue