Community
Participate
Working Groups
Build Identifier: M20110210-1200 When a veto exception is thrown with a large text, the box showing the text is to small, the text is cut off. Reproducible: Always Steps to Reproduce: 1. throw new VetoException("Lorem ... amet."); (with long text) 2. Check appearance of message box
Created attachment 199883 [details] To Small Veto Exception Box
Created attachment 199884 [details] Full Size Veto Exception Box
Solved. 29.07.2011 dwi bugzilla 352420 Problem: The height of the message box is too small if text of either intro or content is wider than the initial message box width and therefore needs to be wrapped. Solution: Preceding Swing size calculation, the span of the labels is constrained to the maximal display width of the message box. Thus, Swing is able to calculate the height correctly in respect to the wrapping text height. In order to make the text reflow when being resized to a width greater than the initial size, the span is reset just after being enlarged the first time. Migration: None
shipped with scout 3.7.1