Review Request: fix 234407 - set minimum width for system settings icon view

Xuetian Weng wengxt at gmail.com
Thu Jan 10 17:17:06 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108328/
-----------------------------------------------------------

Review request for kde-workspace, Ben Cooksley, Thomas L├╝bking, Chao Feng, and Yichao Yu.


Description
-------

have a minimum width for system settings icon view depends on font.

This fontHeight * 6 heuristic value works all languages. CJK character is usually square so this roughly means 6 CJK character, and 12 latin letter, which will always look good.

And to fengchao, sorry if you feel I steal your job.. but I can't stop but self since I think I can finish it in 10 minutes..


This addresses bug 234407.
    http://bugs.kde.org/show_bug.cgi?id=234407


Diffs
-----

  systemsettings/icons/CMakeLists.txt 0830dd7 
  systemsettings/icons/FileItemDelegate.h PRE-CREATION 
  systemsettings/icons/FileItemDelegate.cpp PRE-CREATION 
  systemsettings/icons/IconMode.cpp 37cfc4b 

Diff: http://git.reviewboard.kde.org/r/108328/diff/


Testing
-------

see screenshot.


Screenshots
-----------

english after change
  http://git.reviewboard.kde.org/r/108328/s/1014/
chinese after change
  http://git.reviewboard.kde.org/r/108328/s/1015/
chinese before change
  http://git.reviewboard.kde.org/r/108328/s/1016/
spanish after change
  http://git.reviewboard.kde.org/r/108328/s/1017/


Thanks,

Xuetian Weng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130110/43515b6b/attachment.htm>


More information about the kde-core-devel mailing list