Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip content view customisation not working. #6

Open
Sudheerarava222 opened this issue Aug 31, 2023 · 0 comments
Open

Tooltip content view customisation not working. #6

Sudheerarava222 opened this issue Aug 31, 2023 · 0 comments

Comments

@Sudheerarava222
Copy link

If I add button the tool tip auto alignment not working.
In content just I added the following lines. I am not sure what I did mistake.

   HStack {
                        Label("Contrary to popular belief, Lorem Ipsum is not simply random text.", systemImage: "")
                            .onTapGesture {
                                isPresented.toggle()
                            }
                            .padding()
                            .frame(width: 200)
                        
                        VStack {
                            Button("Close") {
                                isPresented = false
                            }
                            Spacer()                            }
                    }.padding(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant