View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002714 | NoesisGUI | Unreal | public | 2023-10-04 22:56 | 2023-10-04 22:56 |
| Reporter | paula.flamingfowl | Assigned To | |||
| Priority | normal | Severity | crash | ||
| Status | new | Resolution | open | ||
| Product Version | 3.2 | ||||
| Summary | 0002714: Inline font icons ignore the Enabled and IsHitTestable properties from parent text box | ||||
| Description | We're using a TextBox which RichText.Text property is binded to a property that could contain inline tags. We created a tag that changes the FontFamily to use a font icon. For example (see the video), we have some world icons (using a TextBox with a font icon) that we want to remove their interaction since hovering or clicking them doesn't nothing (and there are objects behind them, the wall, that we want to interact). We set the IsHitTestVisible and IsEnabled propeties to false. However, when we try to interact with the object behind the icon, we can't since the icon is detecting the interaction. This is how we are setting the text to print the icon: THen, this is an inline tag with a font icon we created: And the binded Text could be something like <FontMapIcon>A</> We investigated this a bit and we found that changing the IsEnabled property in the newly created Run component (the ParseText method in RichText.cpp) fixes the problem (see attached image). | ||||
| Steps To Reproduce | Create a font icon with iconmoon. Import the font into blend and create an inline tag. Something like this: Create a TextBox and bind the RichText.Text property to a text with the font tag: <FontMapIcon>A</>. Set IsEnabled to false Create a component behind that TextBox which color changes when it's hovered Import into unreal. See that the object behind is not hovered when the cursor is on top of the TextBox icon | ||||
| Attached Files | |||||
| Platform | Any | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-10-04 22:56 | paula.flamingfowl | New Issue | |
| 2023-10-04 22:56 | paula.flamingfowl | Tag Attached: richtext | |
| 2023-10-04 22:56 | paula.flamingfowl | File Added: image.png | |
| 2023-10-04 22:56 | paula.flamingfowl | File Added: Nueva-pestaña (3).webm |