Skip to content

Commit

Permalink
Fixed cursor in textedit fields.
Browse files Browse the repository at this point in the history
Added some cursor shapes to choose from, save as cursor.png
  • Loading branch information
angelaschmid committed Feb 9, 2014
1 parent 5da3035 commit c790a71
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
14 changes: 6 additions & 8 deletions base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1660,8 +1660,9 @@
</state>
</statetype>
<imagetype name="cursor">
<position>0,0</position>
<filename>images/textedit_cursor.png</filename>
<!-- WxH is needed with left aligned textedit, otherwise only 1px width is shown -->
<area>0,0, 13,26</area>
<filename>images/cursor.png</filename>
</imagetype>
<textarea name="text">
<area>5,8,490,30</area>
Expand Down Expand Up @@ -1694,8 +1695,7 @@
</state>
</statetype>
<imagetype name="cursor">
<position>0,0</position>
<filename>images/textedit_cursor.png</filename>
<filename>images/cursor.png</filename>
</imagetype>
<textarea name="text">
<area>5,8,365,30</area>
Expand Down Expand Up @@ -1725,8 +1725,7 @@
</state>
</statetype>
<imagetype name="cursor">
<position>0,0</position>
<filename>images/textedit_cursor.png</filename>
<filename>images/cursor.png</filename>
</imagetype>
<textarea name="text">
<area>5,8,490,30</area>
Expand Down Expand Up @@ -1759,8 +1758,7 @@
</state>
</statetype>
<imagetype name="cursor">
<position>0,-5</position>
<filename>images/textedit_cursor.png</filename>
<filename>images/cursor.png</filename>
</imagetype>
<textarea name="text">
<area>5,8,490,147</area>
Expand Down
Binary file modified images/cursor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cursor_10x26_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cursor_10x26_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cursor_13x26_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cursor_6x26_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions osd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,7 @@
</state>
</statetype>
<imagetype name="cursor">
<area>0,0,8,44</area>
<filename>images/textedit_cursor.png</filename>
<filename>images/cursor.png</filename>
</imagetype>
<textarea name="text">
<area>5,8,490,30</area>
Expand Down

0 comments on commit c790a71

Please sign in to comment.