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

Aperta
#223 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, unity
Ambito
design, game-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C#
Stelle
135
Fork
15
Merge medio
24m
PR unite (30g)
112

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RadicalCSG/com.chisel

Tutte le issue di RadicalCSG/com.chisel

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.