apache / apache/royale-asjs

Spark Panel displays incorrectly if either width or height is not specified

Open
#973 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

If you specify _both_ width and height (either numbers or percentages) for a Spark Panel, then all is OK.

But if not... I cannot even begin to describe the problems in the title bar:

sparkpanel-bad

Without height specified (second panel in the picture), the border is missing (or up against the bottom of the title bar).

[TestSparkPanel.mxml.txt](https://github.com/apache/royale-asjs/files/5623066/TestSparkPanel.mxml.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached TestSparkPanel.mxml.txt reproduction and inspect the Spark Panel implementation and its title-bar layout behavior. Reproduce the case with width or height omitted, then verify that the panel border and title bar render correctly in both partial-size cases.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.