Introduce image UI macro, require explicit borrowing in UI macros
This commit is contained in:
parent
0dffdbc660
commit
38adb5f4b9
7 changed files with 88 additions and 75 deletions
|
|
@ -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 () ) ,
|
||||
) ,
|
||||
) ;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue