Jasonette / Jasonette/JASONETTE-Android

Add "ratio" attribute to component styles

Open
#145 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.6k
Forks
266
PR merge metrics
No merged PRs in 30d

Description

As discussed at https://github.com/Jasonette/documentation/issues/62

Ratio refers to aspect ratio (width/height)

Example:

```
{
"type": "image",
"url": "file://image.jpg",
"style": {
"width": "100px",
"ratio": "1.0"
}
}
```

Contributor guide

Open the contributing guide

Research direction

Start by reading the referenced documentation issue 62, then locate how component styles are handled in the Android project. Confirm how the width and ratio example should affect component layout, and verify that the ratio attribute works for the described image style without breaking existing styles.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.