title: Compose Horizontal Pager always filling max size, verticalAligment not working
body: <p>I'm using <a href="https://google.github.io/accompanist/pager/" rel="noreferrer">Google's Accompanist Horizontal Pager</a>, and I need the pager to wrap content size. For some reason it fills max size. Currently it's a child of constraint layout, however I tried putting it inside column with another having <code>Modifier.weight(1f)</code> - same result.
  Also verticalAlignment doesn't work, child is centered.</p>
  <p><a href="https://i.stack.imgur.com/LdOMn.png" rel="noreferrer">Screenshot</a>; Green - pager, red - it's child.</p>
  <p>Compose version : 1.0.5 ; Pager version : 0.21.3-beta</p>
  <pre><code>HorizontalPager(
              state = stickerBookState.pagerState,
              modifier = Modifier
                  .constrainAs(pager) {
                      top.linkTo(pagerNavigator.bottom, 16.dp)
                      linkTo(parent.start, parent.end)
                      height = Dimension.wrapContent // for whatever reason it's actual size if fillConstraints / fillMaxSize
                      width = Dimension.fillToConstraints
                  }.background(PmColors.CompletedGreen),
              verticalAlignment = Alignment.Top, // this one also doesn't seem to work
              count = model.pages.size,
          ) { pageIndex -&gt;
              val pageData = model.pages[pageIndex]
              @OptIn(ExperimentalFoundationApi::class)
              LazyVerticalGrid(
                  modifier = Modifier
                      .wrapContentSize()
                      .background(PmColors.AlertRed),
                  cells = GridCells.Fixed(2)
              ) {
                  items(pageData) { holderData -&gt;
                      Box(
                          modifier = Modifier
                              .padding(bottom = 24.dp)
                              .fillMaxWidth()
                              .wrapContentHeight(),
                          contentAlignment = Alignment.Center
                      ) {
                          // some composable
                      }
                  }
              }
          }
  </code></pre>