Posts

Post not yet marked as solved
1 Replies
458 Views
Hi,I've started working on my first WatchKit app UI, and I've run into some things that I don't know if it's possible to solve in WatchKit without using SwiftUI (or at all):1) Is it possible to have a group element that's sized to "fill all remaining space"? E.g. have a vertical group set to fill whole screen height, one label at the top and one at the bottom, and some group in the middle automatically taking the space that's left between them. Or a horizontal group filling the screen width, with a label on the left and right and a "spacer" in between that uses whatever space is left.2) Is it possible to configure a group or another element to keep a constant aspect ratio, i.e. its width relative to its height or the other way around? E.g. to have an element configured to fill the screen width, and to automatically have the same height as the width, so that it always stays a perfect square.
Posted
by mackuba.
Last updated
.