AxisTooltip icon indicating copy to clipboard operation
AxisTooltip copied to clipboard

Weird Spacing

Open Mcrich23 opened this issue 2 years ago • 1 comments

When applying the tooltip without overriding the height, there's weird spacing, please fix!:

createPartyButton
  .axisToolTip(isPresented: $viewModel.howTo, alignment: .center, constant: viewModel.leadingTooltipConfig) {
    Text("Create\na Party")
       .padding()
  }

Simulator Screen Shot - iPhone 14 Pro - 2023-03-21 at 10 48 56

createPartyButton
  .axisToolTip(isPresented: $viewModel.howTo, alignment: .center, constant: viewModel.leadingTooltipConfig) {
    Text("Create\na Party")
       .padding()
  }
    .frame(height: 50)

Simulator Screen Shot - iPhone 14 Pro - 2023-03-21 at 10 50 03

Mcrich23 avatar Mar 21 '23 17:03 Mcrich23