Repository navigation
fix(selects): menu width cap by the viewport, and API summaries of the menu width properties - #216
Merged
Merged
Conversation
The new MenuMinWidth, MenuMaxWidth and ShowTrimmedOptionToolTip property fields carried "Defines the X property." summaries, which the gallery's API tables show in place of the properties' own text; drop them. Restore the MaxDropDownHeight summaries on Combobox and MultiSelect, which had slipped onto MenuMinWidth. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SelectMenuSizing read TopLevel.ClientSize, which ViewportSourceScanTests forbids: inside an ArcViewportHost (a phone preview) the menu could grow past the host. Read ArcViewport.GetSize instead, which falls back to the window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to the #212 / #214 change shipped in 1.3.2-preview.6.
mainfails without it):SelectMenuSizingcapped the menu byTopLevel.ClientSize, whichViewportSourceScanTests(Core.Tests) forbids. Inside anArcViewportHost(phone preview) the menu could grow past the host. It now readsArcViewport.GetSize, which falls back to the window. CHANGELOG: Unreleased › Fixed.MenuMinWidth,MenuMaxWidthandShowTrimmedOptionToolTipproperty fields onSelect,Combobox,MultiSelectandTreeSelectcarriedDefines the X property.summaries. The gallery's API tables take the field summary over the property's, so they showed that line instead of the real description. The field summaries are removed.Combobox.MaxDropDownHeightandMultiSelect.MaxDropDownHeightget their summaries back; they had slipped ontoMenuMinWidth, and the gallery build reported GDOC004.Local:
TKCode.Arc.Core.Tests202/202,TKCode.Arc.TestsSelects namespace 142/142,FilterBoxTests40/40;src/TKCode.Arcbuilds without warnings.The gallery docs for these properties are in AIDotNet/ArcGallery#16.
🤖 Generated with Claude Code