<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div><span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;">Hello again good folks.</span></div>
<div> </div>
<div><span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;">I'm fiddling around with a</span> <span style="font-family:'Courier New', Courier, monospace;font-size:16px;"><strong>QPlainTextEdit</strong></span> <span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;">widget and wanting to try manually drawing the text cursor from the</span> <span style="font-family:'Courier New', Courier, monospace;font-size:16px;"><strong>.paintEvent()</strong></span> <span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;">method.</span></div>
<div> </div>
<div><span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;">But first, I'd like to make the default cursor disappear. Calling</span> <span style="font-family:'Courier New', Courier, monospace;font-size:16px;"><strong>.setCursorWidth(0)</strong></span> <span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;">works in Windows when Scale is set to either 100% or 200% in the Display Settings. But if Scale is set to 125%, 150% or 175%, the cursor still appears as a thin line. I'm guessing this is because the 0 value is getting rounded to 1?</span></div>
<div> </div>
<div><span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;">Wondering if there is any way around this.</span></div>
<div> </div>
<div><span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;">Thanks again!</span></div>
<div> </div>
<div><span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;">/John</span></div>
<div> </div>
<div><span style="font-family:'Trebuchet MS', Helvetica, sans-serif;font-size:16px;"><i>[Short sample script attached]</i></span></div>
</div>
</body>
</html>