ScheduleView ExpandMonthViewButton visibility does not adapt to available space

1 Answer 56 Views
ScheduleView
Vic
Top achievements
Rank 1
Iron
Vic asked on 03 May 2023, 12:20 AM

Hello,

When using the ScheduleView in month view, I find that the visibility of the expand button is fixed to the minimum height of the day slot, i.e., it appears when the number of appointments in a day exceed those that are visible at the minimum height regardless of whether there is still available room (for example, when the window is maximized).  How can this be corrected so that it only appears when there are appointments out of view?

 

Stenly
Telerik team
commented on 05 May 2023, 02:36 PM

I am not sure that I understand this question. May I ask if you could share a bit more information about it? In addition, if possible, could you share some images of the current behavior and the expected one?
Vic
Top achievements
Rank 1
Iron
commented on 05 May 2023, 03:16 PM

Sure Stenly.  Here are two pictures of the ScheduleView using default styles.  In the second picture, the window has been maximized so all the appointments are visible, yet the expand button still appears.  In my implementation, I am styling this button to draw more attention to the fact that there are more items out of view.  But the fact that it's always present regardless of whether it's needed or not, poses a problem. 

Pic 1

Pic 2

Thank you...

Stenly
Telerik team
commented on 08 May 2023, 04:57 PM

I have tested this behavior in a sample project, however, the end result is different than the one in the second image (when the window is maximized). The following image shows the result on my side when the window is maximized:

Could you test the attached sample project and let me know if I am missing something?

Vic
Top achievements
Rank 1
Iron
commented on 08 May 2023, 06:26 PM

Hi Stenly,

I opened your project and replaced your references with the WPF45 NoXaml binaries from Telerik_UI_for_WPF_2023_1_117_Dev_Hotfix_DIGITALLY_SIGNED. I then added the corresponding xaml files from the Office2016Touch theme, built the project, and am seeing the same results.

At default window size (4 appointments total):

At maximized window (4 appointments total):

Thanks...

1 Answer, 1 is accepted

Sort by
0
Vic
Top achievements
Rank 1
Iron
answered on 21 Jul 2023, 12:05 AM

For anyone else affected by this problem, a bug report was logged here:  ScheduleView: The expand button of the TimeRulerMonthViewItem element is visible even when all appointments inside this item are visible (telerik.com)

Please vote for it, so it is fixed in the next release.

Tags
ScheduleView
Asked by
Vic
Top achievements
Rank 1
Iron
Answers by
Vic
Top achievements
Rank 1
Iron
Share this question
or