HMCL-dev / HMCL-dev/HMCL

[Feature] 背景图片的自定义和网络的输入框自适应用户界面宽度

Open
#5,795 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

概述 | Summary

设置->外观->背景图片自定义网络 的输入框支持自适应用启动器界面宽度

Image
原因 | Reason

HMCL 3.12.0.332更新日志中新增的功能里

Image

合并自 #5769 的新功能 "背景自定义路径是文件夹 则随机在文件夹选取图片展示"

由于当前版本下只能通过在路径中填写文件夹路径(或选择该文件夹中任意一个图片, 并删除路径中的文件名的部分)来实现(体验)本次更新中新增的"随机在文件夹选取图片"功能

但是自定义本地图片(以及网络图片)输入框并不能随着用户使用的窗口宽度,自适应输入框宽度,导致编辑起来极其不方便

详情 | Description

设置->外观->背景图片自定义网络 的输入框长度根据启动器的界面宽度自适应长度,避免输入框中字符较多时不便于编辑

Contributor guide

Open the contributing guide

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

Start by locating the Settings → Appearance → Background Image controls for the Custom and Network inputs in the JavaFX UI. Check how their layout responds to launcher resizing, then verify that long paths or URLs remain convenient to edit at different window widths.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.