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

Key: LPP-2915
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: -- --
Assignee: Unassigned
Reporter: Christian Niessner
Votes: 0
Watchers: 1
Operations

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

baseedittext _internaltext y offset wrong if placed in tabpane

Created: 13/Oct/06 01:55 AM   Updated: 31/Jan/08 03:33 PM
Component/s: Components - Incubator
Affects Version/s: 3.3.3
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

Environment: linux / firefox / flash 7.0.69

Severity: Minor
Fixed in branch: branches/legals
Runtime: N/A
Fix in hand: False


 Description  « Hide
There is a strange y offset on _internaltext if a lzedittext is placed in a tabpane.

Sample app:

<canvas debug="true" width="1000" height="500">
    <include href="incubator/lzedittext.lzx" />
    <tabs>
        <basetabpane>Test Tab
            <lzedittext/>
            <lzedittext multiline="true" y="30">multiline</lzedittext>
        </basetabpane>
    </tabs>
</canvas>

Enter some text in the first input field and it will be placed above the bottom border...

The bug dosn't appear if the lzedittext is multiline or a default/initvalue is given (like in multiline sample)

i tracked a bit and i think baseedittext._placeTextY() is not called...


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Christian Niessner - 13/Oct/06 08:40 AM
investigated a bit and found it depends on initstage:

<basetabpane initstage="normal">

solves the trouble. I already hit this tab-initstage trouble several times...

Is this a problem within tabpane (probably set initstage="normal") or is it the widget's poblem to proper handle initstage != normal?

Josh Crowley - 16/May/07 07:32 AM
Approved by Phil R.

Mamye Kratt - 03/Jul/07 04:15 PM
(4.0 branch (4.0.3) build r5585)

Mamye Kratt - 03/Jul/07 04:16 PM
Need to test in legals.

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

Mamye Kratt - 31/Jan/08 03:33 PM
(trunk 4 local build r7937)
Test file runs successfully in swf and dhtml.