Toolbar on right side is cropped in Scenario Editor when increasing window width

未关闭
#4,047 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp
领域
game-dev

调研方向

Start in the Scenario Editor at the Landscape Editor step and reproduce the issue by increasing the window width with the toolbar not centered. Read the Scenario Editor toolbar sizing and layout code, including how the centered-toolbar option affects it. Done means the toolbar remains fully visible after resizing, including beyond the initial window width.

由索引模型根据 Issue 内容生成。

描述

Version information:

  • Platform: Windows 10
  • Version: 26.09

Describe the bug
The toolbar that contains the land/road/town/industries tools is cropped in Scenario Editor is the window width is increased.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to Scenario Editor
  2. Advance until the "Landscape Editor" step
  3. Ensure the toolbar is not centered in the options
  4. Increase window width size
  5. See error

Expected behaviour
The toolbar menu should be cropped.

Screenshots

Image Image

Additional context
If you enable the centered toolbar and disable it in options, the menu shows correctly for the new window size until you increase the window width again.
Decreasing the window width will show the menu normally, then increasing the width will still show normally until it goes beyond the initial window width.
Doesn't affect normal game play, happens only in scenario editor.

主要语言
C++
星标
1.9k
派生
221
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenLoco/OpenLoco 的其他 Issue

查看 OpenLoco/OpenLoco 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。