History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-3885
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: -- --
Assignee: Unassigned
Reporter: Antun Karlovac
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Window title not clipped in 4.0

Created: 16/Apr/07 04:48 PM   Updated: 16/Jan/08 11:05 AM
Component/s: Components - LZ
Affects Version/s: 4.0.0
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 5,384
Fixed in branch: branches/legals
Runtime: N/A
Fix in hand: False


 Description  « Hide
Window title spills outside of window:

<canvas>
    <window x="10" title="Test Harness One Two Three Four Five" width="150">
    </window>
</canvas>


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Max Carlson - 11/Jun/07 05:55 PM
Author: max
Date: 2007-06-11 17:54:39 -0700 (Mon, 11 Jun 2007)
New Revision: 5384

Modified:
   openlaszlo/branches/legals/lps/components/lz/windowpanel.lzx
Log:
Change 20070611-maxcarlson-7 by maxcarlson@plastik on 2007-06-11 16:59:12 PDT
    in /Users/maxcarlson/openlaszlo/legals-clean
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Fix window title clipping for windows in 4.0

New Features:

Bugs Fixed: LPP-3885 - Window title not clipped in 4.0

Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: windowpanel.lzx - set title text to resize="false" and width="100%"
    

Tests: see LPP-3885. Window title is correctly displayed when window resizable="true".



Modified: openlaszlo/branches/legals/lps/components/lz/windowpanel.lzx
===================================================================
--- openlaszlo/branches/legals/lps/components/lz/windowpanel.lzx 2007-06-12 00:51:37 UTC (rev 5383)
+++ openlaszlo/branches/legals/lps/components/lz/windowpanel.lzx 2007-06-12 00:54:39 UTC (rev 5384)
@@ -250,7 +250,7 @@
             <view name="icon"/>
             <text name="title" fgcolor="${classroot['style'] ? classroot.style.textcolor : null}"
                 opacity="${classroot.state == 2 ? .7 : 1}"
- text="${classroot.title}" y="-1" />
+ text="${classroot.title}" y="-1" resize="false" width="100%"/>
             <view name="gripper_right" y="1" resource="window_gripper_rsc"
                 clip="true" frame="${classroot.state}"/>
 


_______________________________________________
Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Mamye Kratt - 28/Jun/07 07:08 PM
(4.0 branch (4.0.3) local build r5544)
Title within the window.


Mamye Kratt - 28/Jun/07 07:08 PM
Needs to be tested in legals.

Mamye Kratt - 17/Jul/07 12:12 PM
Need to test in legals.

Mamye Kratt - 16/Jan/08 11:05 AM
(trunk 4 build r7829)
Fixed.