I got R - autosized dialog_group with “Car catalog”. I want to get R height and send it to R1. I tried get(), but i think it doesn’t work while D is not open.
new(D, dialog),
new(R, dialog_group('Cars', box)),
create_car_cards(R, Cars, Login),
new(R1, dialog_group('Profile', box)),
send(R1, append, button('Purchases')),
send(R1, append, button('Exit',
message(D, destroy)), below),
send(D, append, R),
get(R, size, size(_, H)), %here
send(R1, heigth, H), %
send(D, append, R1, right),
send(D, open).