Fix hover action position when wide

Fix the positioning of the hover actions when the window is wide by using the content x pos
This commit is contained in:
James Graham
2023-11-12 14:20:46 +00:00
parent ae0c5ffaef
commit 6dc30a9ca7
2 changed files with 8 additions and 1 deletions

View File

@@ -26,6 +26,13 @@ Item {
*/
property Item contentItem
/**
* @brief The x position of the content item.
*
* @note Used for positioning the hover actions.
*/
property real contentX: contentItemParent.x
/**
* @brief Whether the delegate should always stretch to the maximum available width.
*/