Mungo Posted August 27, 2016 Share Posted August 27, 2016 (edited) I have noticed that tip text, displayed as balloon tips ($TIP_BALLOON (1)), display very different corners under Windows 10 depending on the text consisting of a single or has multiple lines (line break with @LF or @CR). Could that be a bug? I recently moved to Windows 10 and used 7 before. On an old screenshot (under Win 7) I can see that multiple-lines-tip-texts still had rounded corners (even less round than for a single line). I did not use Win 8 or 8.1 so I do not know how multi-line tip texts are rendered there. I use single and multiple lines and now have inconsistent rendering for tip texts within the same GUI - not very nice ;-). I like the ‘balloon’ style but how to make them consistently sharp or round cornered? Thanks #include <GUIConstantsEx.au3> Example() Func Example() GUICreate("GUI control tip with/without line break", 400, 200) ; Balloon tip with rounded corners GUICtrlCreateLabel("Label - tip text NO line break (Balloon tip with rounded corners)", 10, 20) GUICtrlSetTip(-1, "Tip text (NO line break)", "Title",1 ,1) ; Balloon tip with corners not rounded GUICtrlCreateLabel("Label - Tip text WITH line break (Balloon tip with corners not rounded)", 10, 100) GUICtrlSetTip(-1, "Tip text ..." & @LF & "(WITH line break)", "Title", 1, 1) GUISetState(@SW_SHOW) ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd EndFunc ;==>Example Edited August 27, 2016 by Mungo Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 27, 2016 Moderators Share Posted August 27, 2016 Mungo, When I run that script on my Win7 machine I notice significantly less rounded corners on the multi-line tip when compared to the single line version. So I can only surmise that this is a Windows "feature" rather then anything to do with AutoIt. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Mungo Posted August 27, 2016 Author Share Posted August 27, 2016 Melba23, Thanks! Yes, I guess it must be a Windows 10 ‘feature’ to go more in line with the more squarish, flat and sharp edged design of Windows 10 ... however, I thought that they would have skipped the round corners altogether. Mungo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now