rwilson504 / PCFControls

Reusable PowerApps Control Framework (PCF) controls.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding Work Week Causes International Button Spacing Trainwreck at End of Year

ArtKarp opened this issue · comments

commented

Oops...

image

Here is what I'm going to do for this one.
-Shrink the time label to 14px.
-Reduce the amount of padding on the buttons.
-Set the toolbar to not wrap.
-Set the text of the label to not show any overflow.

image

Also I'm adding in a new property called calendarAvailableViews. Here you can select which view the calendar can have. It's a comma delimited string that can contain the following values month, week, work_week, day, agenda. Using this you can select which view buttons will show up. If you only include a single view then no buttons even show up. This could be useful if you always want the users to look at a month view or maybe you don't care about the Agenda view and want to leave it out. Also you can array the view names in this string and the buttons will show up in that order. So if you want the work_week view and the end just put it at the end of the property string.

image