Skip to content

gpui: Add min_size and max_size style methods#47775

Merged
danilo-leal merged 1 commit intomainfrom
min-max-size
Jan 27, 2026
Merged

gpui: Add min_size and max_size style methods#47775
danilo-leal merged 1 commit intomainfrom
min-max-size

Conversation

@danilo-leal
Copy link
Member

@danilo-leal danilo-leal commented Jan 27, 2026

The same way you can use size when width and height have the same value, it should also be possible to write min_size and max_size. This PR adds these two methods, which are also supported in Tailwind (but not documented in v4, surprisingly!).

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 27, 2026
@danilo-leal danilo-leal merged commit 40468ed into main Jan 27, 2026
30 checks passed
@danilo-leal danilo-leal deleted the min-max-size branch January 27, 2026 18:37
naaiyy added a commit to Glass-HQ/Glass that referenced this pull request Feb 16, 2026
Key changes:
- Version bump v0.223
- Bold folder labels setting (zed-industries#47631) for project panel
- min_size/max_size style methods in GPUI (zed-industries#47775)
- Emoji typing fix (zed-industries#47835)
- Heap allocation reductions in GPUI (zed-industries#47858)
- Git graph: feature graph support (zed-industries#47861)
- Editor: select to start/end of larger syntax node (zed-industries#47571)
- Scroll position persistence moved to background with debounce (zed-industries#47834)
- Markdown: improved double-click word selection (zed-industries#47844)
- Language injections fix (zed-industries#46134)
- SharedString::new_static for string literals (zed-industries#47865)
- ACP registry improvements and agent deprecation banners

Conflict resolutions:
- Kept our version (0.0.1), not upstream's 0.223.0
- Removed vim settings from default.json, settings_content, settings_ui
- Took upstream's bold_folder_labels in project panel
- Removed deleted crate files (gpui, vim, util)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant