Unable to center components after reducing the width of the unit window

オープン
#2,011 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java
領域
frontend

調査の方向性

Start by reading LocationTabPanel and its superclass, EntityTabPanel, to trace how components are positioned when the window is resized. Reproduce the issue on the Location tab by widening and then narrowing the Settlement Unit Window; done means components remain centered and visible at the narrower width. The issue asks for a shared solution across tab panels, so check whether the superclass is the appropriate entry point.

索引モデルが issue の本文から書いたものです。

説明

JavaUI

Describe the bug

  • On the Location tab (and possibly in other tabs) in a Settlement Unit Window, after I stretch out the panel sideway, component will move horizontal to the right. When returning to the same width as it used to be, the components do not return to its center location. A portion of it was hidden from view.

Expected and unexpected behavior

  • Components currently can't center themselves when the final width of the panel is smaller than the center location of its width

Java classes involved

  • LocationTabPanel, EntityTabPanel

Screenshots
Image

Specifications

  • pre-4.1

Additional context

  • LocationTabPanel extends EntityTabPanel.
  • Q: how do we make all components to be added to center aligned, without having to do it for each tab panels ?
主要言語
Java
スター
169
フォーク
50
平均マージ
22時間 56分
マージ済み PR(30日)
32

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mars-sim/mars-sim のほかの issue

mars-sim/mars-sim の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。