View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011165 | MMW v4 | Framework: Scripts/Extensions | public | 2013-08-16 15:21 | 2013-08-16 15:22 |
Reporter | zvezdan | Assigned To | |||
Priority | none | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0011165: Tooltip should apear when some control has wider text than its width, if Hint = "" | ||||
Description | It would be nice if some control could display tooltip similar to built-in tooltips in the Main Tracklist when some text is wider then its parent cell or when some node in the Tree panel has the caption wider than the Tree panel width. Basically, I need this for Edit and Dropdown controls, but they are missing with SDBUITreeListItem control as well, as I already reported before (issue 6727). Of course, such tooltips should appear only if "Show tooltips for obscured track properties" is turned on. Alternatively, you could add some new method to the SDBUICommon object which would return width in pixels of the given text for some control having its font, similar to the GetTextExtentPoint32 Windows API function, for example: iTextWidth = oEdit.Common.GetTextWidth("some_string") If iTextWidth > oEdit.Common.Width Then oEdit.Hint = "some_string" Else oEdit.Hint = "" End If However, such solution is not very good because such tooltip has the form of balloon which is placed above or below the mouse cursor, instead to have the rectangular form which would be placed over the control itself (similar to tooltips in the main tracklist and tree panel). | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||