Dock cannot be resized smaller than the branch dropdown

未关闭
#264 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
cpp, git
领域
desktop, tooling

调研方向

首先在插件的编辑器 UI 中找到 Git dock 及其 branch-selection dropdown,然后分别使用较长的分支名称以及隐藏 Git dock 的情况重现调整大小的行为。检查 dropdown 如何设置 dock 和 sidebar 的最小宽度。当 dock 和 sidebar 可以变得更窄,同时分支名称明显被截断时,即表示完成。

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

描述

bug

Hello. I have a regular issue with the plugin that I haven't seen mentioned. It is impossible to resize the dock to be smaller horizontally than the dropdown that lets you select a branch.

Image

This is generally fine, but when you have long branch names like this one and not enough screen real estate, it becomes problematic. To aggravate matters further, the dock's presence prevents the entire sidebar from being resized even when the Git dock itself isn't displayed.

Preferable behaviour, in my eyes, would be for the dropdown to shrink when the user attempts to resize, with the branch name being cut off ("actor-vis...")

(EDIT: wrong image)

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

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

godotengine/godot-git-plugin 的其他 Issue

查看 godotengine/godot-git-plugin 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

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