Introduce image UI macro, require explicit borrowing in UI macros

This commit is contained in:
Reinout Meliesie 2025-02-07 13:36:14 +01:00
commit 38adb5f4b9
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
7 changed files with 88 additions and 75 deletions

View file

@ -70,10 +70,10 @@ impl CollatableFilmsContainer {
let widget = g_box ! (
@ orientation : Vertical ;
* film_collation_menu . get_widget () ,
scrolled_window ! (
film_collation_menu . get_widget () ,
& scrolled_window ! (
@ propagate_natural_height : true ;
vertically_filling ! ( * collated_grid . get_widget () ) ,
& vertically_filling ! ( collated_grid . get_widget () ) ,
) ,
) ;
@ -92,10 +92,10 @@ impl CollatableSeriesContainer {
let widget = g_box ! (
@ orientation : Vertical ;
* series_collation_menu . get_widget () ,
scrolled_window ! (
series_collation_menu . get_widget () ,
& scrolled_window ! (
@ propagate_natural_height : true ;
vertically_filling ! ( * collated_grid . get_widget () ) ,
& vertically_filling ! ( collated_grid . get_widget () ) ,
) ,
) ;