promotional bannermobile promotional banner

Auto Window Size

Minecraft 1.20.1 / Forge client mod. Auto window sizing + centering, min-size lock, fixed size, 60 presets + custom input, borderless, always-on-top, keybinds, auto-fullscreen — keeps modpack UI consistent.
Back to Files

autowindowsize-1.0.9.jar

File nameautowindowsize-1.0.9.jar
Uploader
JujuMLQwQJujuMLQwQ
Uploaded
Sep 22, 2026
Downloads
13
Size
383.6 KB
Mod Loaders
Forge
File ID
8949731
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:auto-window-size-1687676:8949731")

Learn more about Curse Maven

What's new

# v1.0.9 — Resolution Presets Expansion, Window Position Memory, Config Rework & UI Polish
 
## Added
- Resolution presets expanded to 5 aspect ratios (16:9 / 16:10 / 4:3 / 5:4 / 21:9) with 12 presets each, plus custom resolution input with live boundary validation
- Configurable startup delay (`startupDelay`, 0.5–10.0s, default 1.5s)
- Window position memory (`rememberPosition`): save/restore window position and size across launches; compatible with auto-fullscreen / auto-maximize
- Config files unified under `config/AutoWindowSize/` (config.toml + window.json)
- Config screen translations: option names/descriptions follow the game language (20 languages)
- New commands: `/aws help`, `/aws fullscreen`, `/aws maximize`, `/aws remember`, `/aws resolution` (ratio+preset or custom width/height, with tab-completion)
- Button hover tooltips in the Window Settings screen
 
## Changed
- Settings entry moved from Video Settings to **Accessibility Settings** (compatible with Embeddium and other mods that replace the video settings screen)
- Settings screen info area reworked to four lines (screen resolution / window state + config status / detailed status / input bounds)
- Config comments reworked (English-only, removed duplicate Range, section separators)
- Language count expanded from 15 to 20 (added Arabic, Thai, Swedish, Czech, Indonesian)
 
## Fixed
- Aspect ratio incorrectly showing "Custom" after maximize/fullscreen toggle
- Aspect ratio display lag/bounce-back after clicking a preset
- Custom input fields not updating live when dragging the window
- Fixed-window-size not disabling presets when enabled
- Apply button / input field oversized highlight background after clicking
- Accessibility Settings button shifting position / growing too wide in languages without lang files
- Scrollbar overlapping buttons; repositioned to match vanilla
- Auto-fullscreen on launch not centering after exiting fullscreen
- Various minor UI layout and spacing issues
 
## Notes
- **When upgrading, manually delete `config/AutoWindowSize/`** (and the old `config/autowindowsize-client.toml` if upgrading from pre-1.0.9), then launch to generate fresh config files
- Multi-version ports (1.20.2–1.20.6) are planned for a future release
---
# v1.0.9 — 分辨率预设扩充、窗口位置记忆、配置重构与界面打磨
 
## 新增
- 分辨率预设扩充:5种比例(16:9 / 16:10 / 4:3 / 5:4 / 21:9)每种12个预设,外加自定义分辨率输入(带实时边界校验)
- 启动延迟可配置(`startupDelay`,0.5~10.0秒,默认1.5秒)
- 窗口位置记忆(`rememberPosition`):退出时保存窗口位置与大小,下次启动恢复;与自动全屏/最大化兼容
- 配置文件统一到 `config/AutoWindowSize/` 目录(config.toml + window.json)
- 配置界面多语言:配置名称和描述随游戏语言切换(支持20种语言)
- 新增5个指令:`/aws help`、`/aws fullscreen`、`/aws maximize`、`/aws remember`、`/aws resolution`(支持比例+预设和自定义宽高,带Tab补全)
- 窗口设置界面按钮新增鼠标悬停提示
 
## 调整
- 设置入口从视频设置迁移到**辅助功能设置**(兼容 Embeddium 等替换视频设置界面的模组,避免按钮消失)
- 设置界面信息区重构为四行(屏幕分辨率 / 窗口状态+配置文件状态 / 状态详细说明 / 输入边界提示)
- 配置文件注释重构(全英文、去掉重复Range、加段分隔线)
- 语言从15种扩展到20种(新增阿拉伯语、泰语、瑞典语、捷克语、印尼语)
 
## 修复
- 比例按钮在最大化/全屏切换后错误显示"自定义"
- 点击预设后比例显示滞后/回弹
- 自定义输入框不随窗口拖动实时更新
- 固定窗口大小开启后未禁用预设按钮
- 应用按钮/输入框点击后高亮背景过大溢出
- 辅助功能设置按钮在无对应语言文件时位置偏移/变长
- 滚动条与按钮重叠,调整到与原版位置一致
- 自动全屏启动后取消全屏不居中
- 多处UI布局和间距细节问题
 
## 注意
- **升级时请手动删除 `config/AutoWindowSize/` 文件夹**(从1.0.9之前版本升级还需删除旧的 `config/autowindowsize-client.toml`),然后启动游戏自动生成全新配置
- 多版本移植(1.20.2~1.20.6)计划在后续版本中进行

This mod has no additional files