nixnote2 icon indicating copy to clipboard operation
nixnote2 copied to clipboard

wish cursor bolder

Open dwdcth opened this issue 5 years ago • 6 comments

Expected vs. actual behavior

wish cursor bolder like vscode as the image bellow image

Specifications

  • [Version] 201910160846~2.1.5~ubuntu18.04.1

dwdcth avatar Nov 06 '19 01:11 dwdcth

Pull request welcome :) Should be quite easy ... https://stackoverflow.com/questions/13495283/change-cursor-to-hourglass-wait-busy-cursor-and-back-in-qt

robert7 avatar Nov 06 '19 06:11 robert7

couldn't find an easy way to change the cursor in editors maybe this would be solution https://stackoverflow.com/questions/54932632/expand-cursor-length-qlineedit

robert7 avatar Nov 06 '19 18:11 robert7

couldn't find an easy way to change the cursor in editors maybe this would be solution https://stackoverflow.com/questions/54932632/expand-cursor-length-qlineedit

Thanks, I will try it in weekend.

dwdcth avatar Nov 06 '19 23:11 dwdcth

image Flowing this question https://stackoverflow.com/questions/54932632/expand-cursor-length-qlineedit , I have just made the search input cusor bolder. After looked source , I found the note editor view is a custom QWebView. I don't find a way to change the cursor's width ,may be it needs to use css and js to change cursor .

dwdcth avatar Nov 11 '19 06:11 dwdcth

OK. Actually I tried with CSS, but it doesn't seem to work.. screen_20191112_05

CSS for the note editor can be changes in themes.ini Some info is in: https://github.com/robert7/nixnote2/wiki/NixNote-Themes (see attached tickets below in the linked wiki page)

robert7 avatar Nov 12 '19 11:11 robert7

I found this question https://stackoverflow.com/questions/3758023/how-to-use-this-square-cursor-in-a-html-input-field worked in html.And this question https://stackoverflow.com/questions/6090893/how-to-control-cursor-caret-size-with-css said that caret can be changed only in js. But I don't konw how to use js in qwebview

dwdcth avatar Nov 14 '19 00:11 dwdcth