Active Generator overlay doesn't rewrap its buttons when its width changes

Offen
#223 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
csharp, unity
Bereich
design, game-dev

Rechercherichtung

Start by reading ChiselPlacementToolsSelectionWindow.RenderGeneratorTools, where the issue says a fixed width of eight buttons is used as a workaround. Inspect how the Active Generator overlay lays out its buttons as its width changes in docked and floating modes and when the scene view is resized. Done means rows rewrap, the overlay width matches the rows, and button gaps stay consistent without clipping or excess space.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

The "Chisel Active Generator" overlay doesn't lay out its generator buttons properly when its width changes.

  • When the scene view is resized, the overlay changes width, but the rows of buttons don't wrap again to fit.
  • Buttons get clipped by the overlay's edge, or it leaves empty space beside the last column.
  • The overlay should be exactly as wide as its rows of buttons, with the same gap between buttons, and should rewrap whenever its width changes (docked, floating, or when the scene view is resized).

The current workaround gives the overlay a fixed width of 8 buttons in ChiselPlacementToolsSelectionWindow.RenderGeneratorTools, which avoids the clipping but doesn't wrap.

Vorherrschende Sprache
C#
Sterne
135
Forks
15
Ø Merge
24 Min.
Gemergte PRs (30 T.)
112

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus RadicalCSG/com.chisel

Alle Issues in RadicalCSG/com.chisel

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.