Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CalendarView] Day items aren't correctly resized while changing the calendar Height or Width #6228

Open
10 of 23 tasks
agneszitte opened this issue Jun 10, 2021 · 1 comment · Fixed by #6270
Open
10 of 23 tasks
Assignees
Labels
area/date-time-pickers DatePicker, TimePicker, CalendarDatePicker... difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working platform/all Categorizes an issue or PR as relevant to the all platforms project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) project/layout 🧱 Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)

Comments

@agneszitte
Copy link
Contributor

Current behavior

CalendarView day items aren't correctly resized while changing the calendar Height or Width

  • iOS
    image

  • Android
    image

  • WASM
    image

Expected behavior

CalendarView day items should correctly be resized while changing the calendar Height or Width like UWP

  • UWP
    image

How to reproduce it (as minimally and precisely as possible)

<CalendarView Width="600" />

Workaround

N/A

Environment

Nuget Package:

  • Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
  • Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
  • Uno.SourceGenerationTasks
  • Uno.UI.RemoteControl / Uno.WinUI.RemoteControl
  • Other:

Nuget Package Version(s): 3.8.0-dev.439

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Skia
    • WPF
    • GTK (Linux)
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

IDE:

  • Visual Studio 2017 (version: )
  • Visual Studio 2019 (version: 16.10.0)
  • Visual Studio for Mac (version: )
  • Rider Windows (version: )
  • Rider macOS (version: )
  • Visual Studio Code (version: )
@agneszitte agneszitte added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. platform/all Categorizes an issue or PR as relevant to the all platforms labels Jun 10, 2021
@agneszitte agneszitte added this to the 3.9 milestone Jun 10, 2021
@jeromelaban jeromelaban added area/date-time-pickers DatePicker, TimePicker, CalendarDatePicker... project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) labels Jun 11, 2021
@mergify mergify bot closed this as completed in #6270 Jun 15, 2021
@agneszitte
Copy link
Contributor Author

agneszitte commented Jun 15, 2021

@jeromelaban / @dr1rrb
Issue still not fixed for the Height.

Tested with Uno.UI 3.9.0-dev.39

Sample code:

							<StackPanel>
								<CalendarView SelectionMode="Multiple"
											  Height="512"
											  Width="600" />
								<CalendarView SelectionMode="Multiple"
											  Width="600" />
								<CalendarView SelectionMode="Multiple"
											  Height="512" />
							</StackPanel>

WASM results (but issues also for other platforms listed in this bug):
image
image
image

UWP results:
image
image
image

@agneszitte agneszitte reopened this Jun 15, 2021
@jeromelaban jeromelaban removed this from the 3.9 milestone Aug 11, 2021
@MartinZikmund MartinZikmund added project/layout 🧱 Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..) difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. triage/untriaged Indicates an issue requires triaging or verification labels Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/date-time-pickers DatePicker, TimePicker, CalendarDatePicker... difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working platform/all Categorizes an issue or PR as relevant to the all platforms project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) project/layout 🧱 Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants