|
|
2009-02-23
, 19:54
|
|
|
Posts: 1,076 |
Thanked: 176 times |
Joined on Mar 2007
|
#32
|
|
|
2009-02-23
, 21:13
|
|
|
Posts: 1,674 |
Thanked: 171 times |
Joined on Mar 2007
@ Anderson, IN
|
#33
|
|
|
2009-02-23
, 21:39
|
|
|
Posts: 3,790 |
Thanked: 5,718 times |
Joined on Mar 2006
@ Vienna, Austria
|
#34
|

|
|
2009-02-23
, 21:55
|
|
|
Posts: 1,674 |
Thanked: 171 times |
Joined on Mar 2007
@ Anderson, IN
|
#35
|
| The Following User Says Thank You to munky261 For This Useful Post: | ||
|
|
2009-02-23
, 23:58
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#36
|



| The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
|
2009-02-24
, 16:16
|
|
|
Posts: 3,790 |
Thanked: 5,718 times |
Joined on Mar 2006
@ Vienna, Austria
|
#37
|
The above is not meant as a criticism - your version has given me a reason to actually use it!

./hicolor/26x26/hildon/qgn_toolb_gene_refresh.png ./hicolor/26x26/hildon/qgn_toolb_gene_refresh_pressed.png
./hicolor/40x40/hildon/qgn_toolb_gene_refresh.png
./hicolor/40x40/hildon/qgn_toolb_gene_refresh_pressed.png
./tritanium/26x26/hildon/qgn_toolb_gene_refresh.png
./tritanium/26x26/hildon/qgn_toolb_gene_refresh_pressed.png
./tritanium/40x40/hildon/qgn_toolb_gene_refresh.png
./tritanium/40x40/hildon/qgn_toolb_gene_refresh_pressed.png
^ It exists in 40x40 form (which is the value of the original applet) & in 26x26 form but ICON_SIZE is 24. Maybe 26 will work better than 24 or 40.

| The Following User Says Thank You to benny1967 For This Useful Post: | ||
|
|
2009-02-24
, 16:47
|
|
|
Posts: 3,790 |
Thanked: 5,718 times |
Joined on Mar 2006
@ Vienna, Austria
|
#38
|
|
|
2009-02-24
, 21:23
|
|
|
Posts: 1,674 |
Thanked: 171 times |
Joined on Mar 2007
@ Anderson, IN
|
#39
|
|
|
2009-02-27
, 08:20
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#40
|
be warned, it might look weird
i now cut lines right in the middle of words. the nokia code tries to find a space for line breaks and does line breaks within words only if absolutely necessary.
i used the second piece of nokias code and replaced the line break with "…". while this doesnt look pretty, there are situations when you miss only the last 2-3 letters of a 10-letter-word - with the prettier "find last space in line" algorithm the whole word would be lost.
also, i found that the way Nokia calculates the maximum line length isn't very reliable. you'll notice lines are not of equal length. well. my knowledge of C and GTK+ ends here for the time being.