RobLoach / RobLoach/nuklear_console

Button images should respect aspect ratio.

Open
#126 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
22
Forks
4
Avg merge
4m
Merged PRs (30d)
2

Description

I'd like to request that images on buttons respect the aspect ratio of the image, fitting it into closest axis of the containing button, rather than stretching to the entire space.

Example of what I mean:

Image

The images stretch horizontally, instead of staying their intended ratio.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a source file, test, or entry point. Locate the button image rendering code in the repository, reproduce the horizontal stretching shown in the example, and verify that button images preserve their intended aspect ratio while fitting within the button.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Feature
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.