Browse Source

Update README.md

release/1.0 v1.0.0-rc12
Igor Demin 3 years ago committed by GitHub
parent
commit
28fe93681a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      tutorials/Desktop_Components/README.md

5
tutorials/Desktop_Components/README.md

@ -174,8 +174,9 @@ fun TextBox(text: String = "Item") {
## Tooltips ## Tooltips
You can add tooltip to any components using `BoxWithTooltip`. Basically `BoxWithTooltip` is a `Box` with the ability to show a tooltip, and has the same arguments and behavior as `Box`. You can add tooltip to any components using `TooltipArea`. `TooltipArea` is similar to a `Box`, but with the ability to show a tooltip.
The main arguments of the `BoxWithTooltip` function:
The main arguments of the `TooltipArea` function:
- tooltip - composable content representing tooltip - tooltip - composable content representing tooltip
- tooltipPlacement - describes how to place tooltip. You can specify an anchor (the mouse cursor or the component), an offset and an alignment - tooltipPlacement - describes how to place tooltip. You can specify an anchor (the mouse cursor or the component), an offset and an alignment
- delay - time delay in milliseconds after which the tooltip will be shown (default is 500 ms) - delay - time delay in milliseconds after which the tooltip will be shown (default is 500 ms)

Loading…
Cancel
Save