captbaritone / captbaritone/webamp

Handle library window resize correctly

Open
#765 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
796
PR merge metrics
No merged PRs in 30d

Description

# Understand how Winamp Works

## Definitions:

- **Window** The draggable Winamp window
- **Left Pane** The resizable section on the left that enumerates different media sources
- **Track Area** The resizable area on the right which shows different media track. May be divided into up to three panes.
- **Upper Track Area** The resizable top portion of the Track Area which is devided into two resizable columns
- **Track Columns** The resizable columns in the Track Area panes which

## Observations

- When resizing the window, the Left Pane size stays constant. The panes in the Track Area resize proportionally
- When resizing the window, the Track Columns do not resize
- If resizing the window causes scrollbars to appear/disappear in any pane, that size is taken from the pane itself.
- The sidebar has a minimum size. Below that it collapses to zero. The presense of a scrollbar does not affect this.
- The sidebar has a maximum size.
- Each of the panes in the Track Area has a minimum size. The Track Columns minimum size is greater than the others.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.