apache / apache/royale-asjs

Mismatched types for padding in UIComponent vs. HGroup

Open
#961 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

paddingLeft, paddingTop, etc., have type Object in mx.core.UIComponent, but they have type Number in spark.components.HGroup.

This causes VerifyError: Error #1053 in Flash Debug Player for HGroup. (And would for VGroup, etc., if they implemented.) This is the problem described in issue #953.

Which type should it be, or is this function/member overloading intentional?

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the padding declarations in mx.core.UIComponent and spark.components.HGroup, then investigate the reported VerifyError #1053 for HGroup. Done means resolving the type mismatch consistently and confirming that HGroup no longer triggers the error; the issue does not name a test or further entry point.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.