MantisBT - VCMI
View Issue Details
0002081VCMIGUI - Adventure Mappublic2015-02-14 17:352015-03-12 21:09
SXX 
SXX 
normalminoralways
closedduplicate 
0.97b 
 
0002081: CInfoWindow: some quest messages with components may not fit into screen
Currently testing and fix how quests works and here is one problem related to them. Currently dialog window that appear first time does contain all components and if text too long "Ok" button may go outside of screen.

In my Quest Log code I just put some limit depend on components displayed, e.g:
https://github.com/ArseniyShestakov/vcmi/commit/d06bba422a012f367b71a2ad65dd57778cdc215f [^]
Though dialog window currently use CMessage that don't use CComponentsBox at all and had own implementation of such functionality.

Correct fix would be add some GUI class container that would work like QScrollArea in Qt and such feature can be used in both Quest Log and dialog windows.
No tags attached.
duplicate of 0001213closed Warmonger Rewards from Pandora may not fit on a screen 
png infowindow.png (656,160) 2015-02-14 17:35
https://bugs.vcmi.eu/file_download.php?file_id=2109&type=bug
png

? __SXX_LONG_QUEST.h3m (2,212) 2015-02-14 17:36
https://bugs.vcmi.eu/file_download.php?file_id=2110&type=bug
Issue History
2015-02-14 17:35SXXNew Issue
2015-02-14 17:35SXXFile Added: infowindow.png
2015-02-14 17:36SXXNote Added: 0005481
2015-02-14 17:36SXXFile Added: __SXX_LONG_QUEST.h3m
2015-03-12 21:08SXXRelationship addedduplicate of 0001213
2015-03-12 21:09SXXStatusnew => closed
2015-03-12 21:09SXXAssigned To => SXX
2015-03-12 21:09SXXResolutionopen => duplicate

Notes
(0005481)
SXX   
2015-02-14 17:36   
Also attaching map I used for testing.