Add Small and Large size variants to date/time picker controls#877
Merged
Add Small and Large size variants to date/time picker controls#877
Conversation
…Picker, DateRangePicker, and TimeRangePicker controls Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Small style class to DatePicker, TimePicker, DateTimePicker
Add Small and Large size variants to date/time picker controls
Feb 7, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds .Small and .Large size variants for Semi theme date/time picker controls so they can align in height with other inputs (e.g., TextBox, NumericIntUpDown) when laid out horizontally.
Changes:
- Added
.Smalland.Largestyle selectors to setMinHeighton Date/Time picker-related controls. - Standardized sizing to use
TextBoxSmallHeight/TextBoxLargeHeightresources across these pickers.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Ursa.Themes.Semi/Controls/DatePicker.axaml | Adds .Small/.Large selectors to override MinHeight for DatePicker. |
| src/Ursa.Themes.Semi/Controls/TimePicker.axaml | Adds .Small/.Large selectors to override MinHeight for TimePicker. |
| src/Ursa.Themes.Semi/Controls/DateTimePicker.axaml | Adds .Small/.Large selectors to override MinHeight for DateTimePicker. |
| src/Ursa.Themes.Semi/Controls/DateRangePicker.axaml | Adds .Small/.Large selectors to override MinHeight for DateRangePicker. |
| src/Ursa.Themes.Semi/Controls/TimeRangePicker.axaml | Adds .Small/.Large selectors to override MinHeight for TimeRangePicker. |
zdpcdt
approved these changes
Feb 10, 2026
zdpcdt
added a commit
that referenced
this pull request
Feb 12, 2026
* Initial plan * Add Small and Large style classes to DatePicker, TimePicker, DateTimePicker, DateRangePicker, and TimeRangePicker controls Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com> * fix: fix MinHeight in TimePicker when Classes include Small. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com> Co-authored-by: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> (cherry picked from commit 134cddd)
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.
Date/time picker controls lacked size variants, causing height misalignment when horizontally positioned with
TextBoxandNumericIntUpDownthat support.Smalland.Largeclasses.Changes
Added
.Smalland.Largestyle selectors to:DatePickerTimePickerDateTimePickerDateRangePickerTimeRangePickerEach selector sets
MinHeightusing existingTextBoxSmallHeightandTextBoxLargeHeightresources, matching the pattern inNumericUpDown.Usage
Controls now align correctly with adjacent small-sized inputs.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
av-build-tel-api-v1.avaloniaui.net/usr/share/dotnet/dotnet dotnet exec --runtimeconfig /home/REDACTED/.nuget/packages/avalonia.buildservices/11.3.1/tools/netstandard2.0/runtimeconfig.json /home/REDACTED/.nuget/packages/avalonia.buildservices/11.3.1/tools/netstandard2.0/Avalonia.BuildServices.Collector.dll(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.