Replies: 1 comment 1 reply
-
Hi @SamSandq! You can use this demo app as a basis, just changing the rectangles with images. https://nappgui.com/en/howto/drawbig.html Therefore, support for Dynamic layout and dynamic panels is planned for future NAppGUI releases. #74 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm writing a photo management app, and want to show the photos in a scrolling panel, with set width, and flexible height to accommodate from 1 to thousands of photos.
However, the panel_scroll gets its size from
panel_size(collection, s2df(HSIZE, VSIZE));
with e.g. 1000, 800. When wanting to show many photos it decreases the size of each photo to fit into the size, which I do not want -- I want the height of the panel to be whatever size that will fit my photos with a given size (i.e., number of columns fixed, but rows not). It will not allow me to change the VSIZE to anything but the enclosing panel/layout.
Any ideas how to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions