Review Request 113382: Number of answers always in the same place, and with a maximum width.

Jaime Torres Amate jtamate at gmail.com
Tue Oct 22 18:20:54 UTC 2013


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

(Updated Oct. 22, 2013, 6:20 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Edu and Albert Astals Cid.


Repository: kgeography


Description
-------

Create another invisible widget bellow underLeftWidget, with a stretch(1). In that way, the label with the number of answers is always in the same place. Also, setting a maximum width to leftWidget (once everything is shown), the label will use the wordwrap instead of expanding the layout (it is quite disgusting for me to see the map moving from question to question, specially in place regions in the map).

(as allways, the red white spaces are already removed).


Diffs
-----

  src/boxasker.cpp 123efef 
  src/kgeography.cpp b8f2c0d 

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


Testing
-------

Previously:
  If you used a map like Georgia, with Place regions in the Map, in the turn of "Racha-Lechkhumi and Kvemo Svaneti", the map got displaced.
  If you used Regions by Capital two times, the second time, the label with the number of answers were not on the same place.

After:
  The large names will not displace the map and the label will always be in the same place, no matter what the questions are.


Thanks,

Jaime Torres Amate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20131022/7689188d/attachment.html>


More information about the kde-edu mailing list