Skip to content

Improve options window layout - #1362

Merged
leezer3 merged 2 commits into
leezer3:masterfrom
adfriz:improve-options-window-layout
Jul 26, 2026
Merged

Improve options window layout#1362
leezer3 merged 2 commits into
leezer3:masterfrom
adfriz:improve-options-window-layout

Conversation

@adfriz

@adfriz adfriz commented Jul 24, 2026

Copy link
Copy Markdown
Contributor
  • Replace hardcoded Location/Size with TableLayoutPanel (Dock=Fill) in
    ObjectViewer and RouteViewer Options, Shadows, and Keys tabs
  • Use object initializers with collection initializers for cleaner code
  • Sun Direction section: vertical layout (label above, slider+value below)
  • Column split changed to AutoSize / Percent 100% for proper alignment
  • Fix sun position sliders always enabled regardless of shadow setting
  • Fix value label AutoSize to prevent layout shift on value change
  • Fix typo: Ansiotropic -> Anisotropic in control names and labels

Preview:
object viewer

Screen.Recording.2026-07-24.184151.mp4

only in object viewer and route viewer.

at least this make adding ui a bit easier.... althought it will be replaced by #1342 some day...

@leezer3 ready for review

adfriz added 2 commits July 24, 2026 18:28
…ns dialog

- Replace hardcoded Location/Size with TableLayoutPanel (Dock=Fill) in
  ObjectViewer and RouteViewer Options, Shadows, and Keys tabs
- Use object initializers with collection initializers for cleaner code
- Sun Direction section: vertical layout (label above, slider+value below)
- Column split changed to AutoSize / Percent 100% for proper alignment
- Fix sun position sliders always enabled regardless of shadow setting
- Fix value label AutoSize to prevent layout shift on value change
- Fix typo: Ansiotropic -> Anisotropic in control names and labels
@leezer3
leezer3 merged commit cb3bdd8 into leezer3:master Jul 26, 2026
5 checks passed
@adfriz
adfriz deleted the improve-options-window-layout branch August 7, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants