Code Monkey home page Code Monkey logo

Comments (8)

github-actions avatar github-actions commented on June 10, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

from microsoft-ui-xaml.

tpoint75 avatar tpoint75 commented on June 10, 2024

It's always next to the mouse even if I define a PlacementTarget!

from microsoft-ui-xaml.

kmahone avatar kmahone commented on June 10, 2024

You can add extra padding to the tooltip by setting VerticalOffset or HorizontalOffset.

See this example in WinUI Gallery:
https://github.com/microsoft/WinUI-Gallery/blob/main/WinUIGallery/ControlPages/ToolTipPage.xaml#L38

from microsoft-ui-xaml.

tpoint75 avatar tpoint75 commented on June 10, 2024

Shure I can do that, but I have to add the relative pointer position on the button - renderrd with of the button.
Or I can life with it as it is but I reported a bug, because
the SDK is not working as described and I have a reason not to use the offset.
I am wondering about your are handling your bugs. It's this your understanding of creating high quality software?
The is nothing fixed but the issue is closed..

from microsoft-ui-xaml.

tpoint75 avatar tpoint75 commented on June 10, 2024

@kmahone @codendone

from microsoft-ui-xaml.

kmahone avatar kmahone commented on June 10, 2024

When opening for mouse, tooltip will always use the mouse location to calculate its position. PlacementTarget has effect when opening the tooltip for keyboard focus.

from microsoft-ui-xaml.

kmahone avatar kmahone commented on June 10, 2024

I think the current behavior is a bit confusing. We should take a closer look here. The behavior in WinUI3 is the same as in UWP, but it is still a little confusing.

from microsoft-ui-xaml.

tpoint75 avatar tpoint75 commented on June 10, 2024

Thank you very much. I understand now, how it works and it would be helpful to have a PlacementTarget anyways. I heavy use it for short description of the UI because nobody reads the documentation. So I hope to reduce the support and give the user a better experience!
Btw. it would also be nice to be able to set the MaxWidth of the ToolTip. I had a case, where I could not use a picture because it got to much scaled..
#6225

from microsoft-ui-xaml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.