![]() ![]() ![]() (This is the default style when a cursor hovers over a button.) Apply the CSS property cursor:url(pointer.png) using a custom graphic for your pointer. A possible solution would be increase the caret width as is very tiny in latest FreeCAD (maybe with ::setCursorWidthif still relevant and available in later QT) Best case scenario would to let caret color be styleable using QT Stylesheets Maybe QProxyStyle would allow this. All of the other responses suggest using the standard CSS pointer, however, there are two methods: Apply the CSS property cursor:pointer to the elements. By default the caret height will take the font height, the only time it will not, is when the line height is specified then it will take this height. Instead heres some useful infos that can help you hack your way through this problems. QT does not use the CSS caret-color or caret-width equivalent. As I know, theres no direct way to style the caret. Short of styling with shades of black and white this leaves the designer little to work with for usability. Most FreeCAD themes use a light blue or light background focuscolor so the complimentary cursor color is of low contrast and very hard to see. In FreeCAD with no stylesheet select text from right going left and you'll barely see the blinking RED cursor. This affects FreeCAD with or without stylesheets. In later versions of QT caret color does not follow text color but follows background color background-color: #557bb6(BLUE) and uses the complimentary color of it (RED) As you can imagine other than Black or White, cursor can vanish or be very hard to see in lineedits etc. Caret (text cursor) color use to follow text color (which was styleable with.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |