Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
PowerApps - Gallery Copy/Paste
作成日
昨年
差分は期限切れになりません
クリア
エクスポート
共有
説明
10 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
219 行
すべてコピー
3 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
213 行
すべてコピー
- taskList_Gallery:
- taskList_Gallery:
Control: Gallery
Control: Gallery
Variant: BrowseLayout_Vertical_TwoTextVariant_ver5.0
Variant: BrowseLayout_Vertical_TwoTextVariant_ver5.0
Properties:
Properties:
Items: |-
Items: |-
=If(
=If(
showCompleteToggle.Value = true,
showCompleteToggle.Value = true,
If(
If(
taskSortBySelector.SelectedText.Value = "Due date",// case sensitive
taskSortBySelector.SelectedText.Value = "Due date",// case sensitive
Sort(
Sort(
Filter(
Filter(
MyTasks,
MyTasks,
// case sensitive
// case sensitive
Status = "Completed"
Status = "Completed"
),
),
DateValue(Text(DueDateTime.DateTime)),
DateValue(Text(DueDateTime.DateTime)),
taskSortOrder
taskSortOrder
),
),
Sort(
Sort(
Filter(
Filter(
MyTasks,
MyTasks,
Status = "Completed"
Status = "Completed"
),
),
DateValue(Text(StartDateTime.DateTime)),
DateValue(Text(StartDateTime.DateTime)),
taskSortOrder
taskSortOrder
)
)
),
),
If(
If(
taskSortBySelector.SelectedText.Value = "Due date",
taskSortBySelector.SelectedText.Value = "Due date",
Sort(
Sort(
Filter(
Filter(
MyTasks,
MyTasks,
Status <> "Completed"
Status <> "Completed"
),
),
DateValue(Text(DueDateTime.DateTime)),
DateValue(Text(DueDateTime.DateTime)),
taskSortOrder
taskSortOrder
),
),
Sort(
Sort(
Filter(
Filter(
MyTasks,
MyTasks,
Status <> "Completed"
Status <> "Completed"
),
),
DateValue(Text(StartDateTime.DateTime)),
DateValue(Text(StartDateTime.DateTime)),
taskSortOrder
taskSortOrder
)
)
)
)
)
)
DelayItemLoading: =true
DelayItemLoading: =true
Fill: =RGBA(237, 237, 237, 1)
Fill: =RGBA(237, 237, 237, 1)
Height: =Self.TemplateHeight*10
Height: =Self.TemplateHeight*10
Layout: =Layout.Vertical
Layout: =Layout.Vertical
LoadingSpinner: =LoadingSpinner.Data
LoadingSpinner: =LoadingSpinner.Data
TemplatePadding: =0
TemplatePadding: =0
TemplateSize: =72
TemplateSize: =72
Width: =MainContainer.Width
Width: =MainContainer.Width
X: =700
X: =700
Y: =73
Y: =73
Children:
Children:
- urgentIcon:
- urgentIcon:
Control: Label
Control: Label
Properties:
Properties:
OnSelect: =Select(Parent)
OnSelect: =Select(Parent)
Text: ="!"
Text: ="!"
Tooltip: ="Mark complete"
Tooltip: ="Mark complete"
Color: =RGBA(31, 31, 31, 1)
Color: =RGBA(31, 31, 31, 1)
DisplayMode: =DisplayMode.View
DisplayMode: =DisplayMode.View
FontWeight: =FontWeight.Bold
FontWeight: =FontWeight.Bold
Height: =20
Height: =20
PaddingBottom: =0
PaddingBottom: =0
PaddingLeft: =0
PaddingLeft: =0
PaddingRight: =0
PaddingRight: =0
PaddingTop: =0
PaddingTop: =0
Size: =defaultFontSize*1.5
Size: =defaultFontSize*1.5
Visible: =If(ThisItem.Importance = "High",true,false)
Visible: =If(ThisItem.Importance = "High",true,false)
Width: =10
Width: =10
コピー
コピー済み
コピー
コピー済み
X: =dueDateLabel.X
Y: =13
Y: =13
- startTaskTimer:
- startTaskTimer:
Control: Classic/Icon
Control: Classic/Icon
Variant: Alarm
Variant: Alarm
Properties:
Properties:
OnSelect: |
OnSelect: |
=Reset(taskTimer);
=Reset(taskTimer);
taskTimer.Duration = timerLengthSelector.Selected.Value * 60000;
taskTimer.Duration = timerLengthSelector.Selected.Value * 60000;
UpdateContext(
UpdateContext(
{
{
TimerRunning: true,
TimerRunning: true,
TimerStartTime: DateAdd(
TimerStartTime: DateAdd(
Now(),
Now(),
-TimeZoneOffset(Now()),
-TimeZoneOffset(Now()),
TimeUnit.Minutes
TimeUnit.Minutes
),
),
TaskSubject: taskList_Gallery.Selected.Subject
TaskSubject: taskList_Gallery.Selected.Subject
}
}
);
);
// hide settings menu
// hide settings menu
If(showMenu,UpdateContext({showMenu: !showMenu}));
If(showMenu,UpdateContext({showMenu: !showMenu}));
// update sidebar height
// update sidebar height
UpdateContext(
UpdateContext(
{
{
SidebarContainerHeight: If(
SidebarContainerHeight: If(
// on mobile size
// on mobile size
Main.Size = ScreenSize.Small,
Main.Size = ScreenSize.Small,
// set to the header Height, add timer and button height if shown
// set to the header Height, add timer and button height if shown
headerContainer.Height+If(TimerRunning,timerContainer.Height+stopButtonContainer.Height,0),
headerContainer.Height+If(TimerRunning,timerContainer.Height+stopButtonContainer.Height,0),
// otherwise, just parent height
// otherwise, just parent height
mainScreenContainer.Height - (mainScreenContainer.PaddingTop+mainScreenContainer.PaddingBottom)
mainScreenContainer.Height - (mainScreenContainer.PaddingTop+mainScreenContainer.PaddingBottom)
)
)
}
}
);
);
Tooltip: =Concatenate("Start ",formatTimerText," timer")
Tooltip: =Concatenate("Start ",formatTimerText," timer")
DisplayMode: =If(TimerRunning, DisplayMode.Disabled,DisplayMode.Edit)
DisplayMode: =If(TimerRunning, DisplayMode.Disabled,DisplayMode.Edit)
Height: =32
Height: =32
HoverBorderColor: =RGBA(118, 0, 0, 1)
HoverBorderColor: =RGBA(118, 0, 0, 1)
Icon: =Icon.Clock
Icon: =Icon.Clock
Visible: =If(ThisItem.Status = "Completed",false,true)
Visible: =If(ThisItem.Status = "Completed",false,true)
Width: =32
Width: =32
コピー
コピー済み
コピー
コピー済み
X: =(doneButton.X-Self.Width)-15
Y: =18
Y: =18
- doneButton:
- doneButton:
Control: Classic/Icon
Control: Classic/Icon
Variant: Check
Variant: Check
Properties:
Properties:
コピー
コピー済み
コピー
コピー済み
OnSelect: |
+
OnSelect: |
=OutlookTasks.CompleteTaskV2(ThisItem.Id);
=OutlookTasks.CompleteTaskV2(ThisItem.Id);
Remove(MyTasks, ThisItem);
Remove(MyTasks, ThisItem);
// get tasks from selected folder in Outlook or default to Tasks folder
// get tasks from selected folder in Outlook or default to Tasks folder
ClearCollect(
ClearCollect(
MyTasks,
MyTasks,
OutlookTasks.GetTasksInFolderV2(If(IsBlankOrError(TaskListSelector.Selected.Id),"Tasks",TaskListSelector.Selected.Id),{'$top':200}).value
OutlookTasks.GetTasksInFolderV2(If(IsBlankOrError(TaskListSelector.Selected.Id),"Tasks",TaskListSelector.Selected.Id),{'$top':200}).value
);
);
DisplayMode: =If(TimerRunning, DisplayMode.Disabled,DisplayMode.Edit)
DisplayMode: =If(TimerRunning, DisplayMode.Disabled,DisplayMode.Edit)
Height: =32
Height: =32
Icon: =Icon.Check
Icon: =Icon.Check
Visible: =If(ThisItem.Status = "Completed",false,true)
Visible: =If(ThisItem.Status = "Completed",false,true)
Width: =32
Width: =32
コピー
コピー済み
コピー
コピー済み
X: =(taskList_Gallery.TemplateWidth-Self.Width)-taskList_Gallery.TemplatePadding-20
Y: =18
Y: =18
- selectedIndicator:
- selectedIndicator:
Control: Rectangle
Control: Rectangle
Properties:
Properties:
OnSelect: =Select(Parent)
OnSelect: =Select(Parent)
BorderColor: =RGBA(56, 96, 178, 1)
BorderColor: =RGBA(56, 96, 178, 1)
コピー
コピー済み
コピー
コピー済み
Fill: =RGBA(56, 96, 178, 1)
Height: =taskList_Gallery.TemplateHeight - separator.Height
Height: =taskList_Gallery.TemplateHeight - separator.Height
Visible: =ThisItem.IsSelected
Visible: =ThisItem.IsSelected
コピー
コピー済み
コピー
コピー済み
Width: =
overdueIndicator.Width
Width: =
1
X: =If(And(DateValue(ThisItem.DueDateTime.DateTime)<=DateAdd(Today(),-1),ThisItem.Status <> "Completed"), 5, 0)
X: =If(And(DateValue(ThisItem.DueDateTime.DateTime)<=DateAdd(Today(),-1),ThisItem.Status <> "Completed"), 5, 0)
- separator:
- separator:
Control: Rectangle
Control: Rectangle
Properties:
Properties:
OnSelect: =Select(Parent)
OnSelect: =Select(Parent)
Height: =3
Height: =3
Width: =taskList_Gallery.TemplateWidth
Width: =taskList_Gallery.TemplateWidth
Y: =taskList_Gallery.TemplateHeight - Self.Height
Y: =taskList_Gallery.TemplateHeight - Self.Height
- overdueIndicator:
- overdueIndicator:
Control: Rectangle
Control: Rectangle
Properties:
Properties:
OnSelect: =Select(Parent)
OnSelect: =Select(Parent)
BorderColor: =RGBA(168, 0, 0, 1)
BorderColor: =RGBA(168, 0, 0, 1)
Fill: =RGBA(168, 0, 0, 1)
Fill: =RGBA(168, 0, 0, 1)
Height: =taskList_Gallery.TemplateHeight - separator.Height
Height: =taskList_Gallery.TemplateHeight - separator.Height
Visible: =If(And(DateValue(ThisItem.DueDateTime.DateTime)<=DateAdd(Today(),-1),ThisItem.Status <> "Completed"), true, false)
Visible: =If(And(DateValue(ThisItem.DueDateTime.DateTime)<=DateAdd(Today(),-1),ThisItem.Status <> "Completed"), true, false)
コピー
コピー済み
コピー
コピー済み
Width: =
5
Width: =
1
- dueDateLabel:
- dueDateLabel:
Control: Label
Control: Label
Properties:
Properties:
OnSelect: =Select(Parent)
OnSelect: =Select(Parent)
Text: |-
Text: |-
=If(
=If(
showCompleteToggle.Value = true,
showCompleteToggle.Value = true,
Text(
Text(
DateValue(ThisItem.CompletedDateTime.DateTime),
DateValue(ThisItem.CompletedDateTime.DateTime),
"[$-en-GB]dd/mm/yyyy"
"[$-en-GB]dd/mm/yyyy"
),
),
If(
If(
taskSortBySelector.SelectedText.Value = "Due date",
taskSortBySelector.SelectedText.Value = "Due date",
Text(
Text(
DateValue(ThisItem.DueDateTime.DateTime),
DateValue(ThisItem.DueDateTime.DateTime),
"[$-en-GB]dd/mm/yyyy"
"[$-en-GB]dd/mm/yyyy"
),
),
Text(
Text(
DateValue(ThisItem.StartDateTime.DateTime),
DateValue(ThisItem.StartDateTime.DateTime),
"[$-en-GB]dd/mm/yyyy"
"[$-en-GB]dd/mm/yyyy"
)
)
)
)
)
)
Tooltip: =If(taskSortBySelector.SelectedText.Value = "Due date","Due date","Start date")
Tooltip: =If(taskSortBySelector.SelectedText.Value = "Due date","Due date","Start date")
Color: =RGBA(31, 31, 31, 1)
Color: =RGBA(31, 31, 31, 1)
FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal)
FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal)
Height: =Self.Size * 1.8
Height: =Self.Size * 1.8
PaddingBottom: =0
PaddingBottom: =0
PaddingLeft: =0
PaddingLeft: =0
PaddingRight: =0
PaddingRight: =0
PaddingTop: =0
PaddingTop: =0
Size: =defaultFontSize*0.9
Size: =defaultFontSize*0.9
VerticalAlign: =VerticalAlign.Top
VerticalAlign: =VerticalAlign.Top
Width: =100
Width: =100
コピー
コピー済み
コピー
コピー済み
X: =25
Y: =40
Y: =40
- subjectLabel:
- subjectLabel:
Control: Label
Control: Label
Properties:
Properties:
OnSelect: =Select(Parent)
OnSelect: =Select(Parent)
Text: =ThisItem.Subject
Text: =ThisItem.Subject
Tooltip: =Self.Text
Tooltip: =Self.Text
コピー
コピー済み
コピー
コピー済み
Color: =RGBA(0, 0, 0, 1)
FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal)
FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal)
Height: =Self.Size * 1.8
Height: =Self.Size * 1.8
PaddingBottom: =0
PaddingBottom: =0
PaddingLeft: =If(ThisItem.Importance="High",5,0)
PaddingLeft: =If(ThisItem.Importance="High",5,0)
PaddingRight: =0
PaddingRight: =0
PaddingTop: =0
PaddingTop: =0
Size: =defaultFontSize
Size: =defaultFontSize
VerticalAlign: =VerticalAlign.Top
VerticalAlign: =VerticalAlign.Top
Width: =taskList_Gallery.TemplateWidth - 150
Width: =taskList_Gallery.TemplateWidth - 150
コピー
コピー済み
コピー
コピー済み
X: =
If(ThisItem.Importance="High",urgentIcon.X+urgentIcon.Width,dueDateLabel.X)
X: =
1
Y: =(taskList_Gallery.TemplateHeight - (Self.Size * 1.8 + dueDateLabel.Size * 1.8)) / 2
Y: =(taskList_Gallery.TemplateHeight - (Self.Size * 1.8 + dueDateLabel.Size * 1.8)) / 2
保存された差分
原文
ファイルを開く
- taskList_Gallery: Control: Gallery Variant: BrowseLayout_Vertical_TwoTextVariant_ver5.0 Properties: Items: |- =If( showCompleteToggle.Value = true, If( taskSortBySelector.SelectedText.Value = "Due date",// case sensitive Sort( Filter( MyTasks, // case sensitive Status = "Completed" ), DateValue(Text(DueDateTime.DateTime)), taskSortOrder ), Sort( Filter( MyTasks, Status = "Completed" ), DateValue(Text(StartDateTime.DateTime)), taskSortOrder ) ), If( taskSortBySelector.SelectedText.Value = "Due date", Sort( Filter( MyTasks, Status <> "Completed" ), DateValue(Text(DueDateTime.DateTime)), taskSortOrder ), Sort( Filter( MyTasks, Status <> "Completed" ), DateValue(Text(StartDateTime.DateTime)), taskSortOrder ) ) ) DelayItemLoading: =true Fill: =RGBA(237, 237, 237, 1) Height: =Self.TemplateHeight*10 Layout: =Layout.Vertical LoadingSpinner: =LoadingSpinner.Data TemplatePadding: =0 TemplateSize: =72 Width: =MainContainer.Width X: =700 Y: =73 Children: - urgentIcon: Control: Label Properties: OnSelect: =Select(Parent) Text: ="!" Tooltip: ="Mark complete" Color: =RGBA(31, 31, 31, 1) DisplayMode: =DisplayMode.View FontWeight: =FontWeight.Bold Height: =20 PaddingBottom: =0 PaddingLeft: =0 PaddingRight: =0 PaddingTop: =0 Size: =defaultFontSize*1.5 Visible: =If(ThisItem.Importance = "High",true,false) Width: =10 X: =dueDateLabel.X Y: =13 - startTaskTimer: Control: Classic/Icon Variant: Alarm Properties: OnSelect: | =Reset(taskTimer); taskTimer.Duration = timerLengthSelector.Selected.Value * 60000; UpdateContext( { TimerRunning: true, TimerStartTime: DateAdd( Now(), -TimeZoneOffset(Now()), TimeUnit.Minutes ), TaskSubject: taskList_Gallery.Selected.Subject } ); // hide settings menu If(showMenu,UpdateContext({showMenu: !showMenu})); // update sidebar height UpdateContext( { SidebarContainerHeight: If( // on mobile size Main.Size = ScreenSize.Small, // set to the header Height, add timer and button height if shown headerContainer.Height+If(TimerRunning,timerContainer.Height+stopButtonContainer.Height,0), // otherwise, just parent height mainScreenContainer.Height - (mainScreenContainer.PaddingTop+mainScreenContainer.PaddingBottom) ) } ); Tooltip: =Concatenate("Start ",formatTimerText," timer") DisplayMode: =If(TimerRunning, DisplayMode.Disabled,DisplayMode.Edit) Height: =32 HoverBorderColor: =RGBA(118, 0, 0, 1) Icon: =Icon.Clock Visible: =If(ThisItem.Status = "Completed",false,true) Width: =32 X: =(doneButton.X-Self.Width)-15 Y: =18 - doneButton: Control: Classic/Icon Variant: Check Properties: OnSelect: |+ =OutlookTasks.CompleteTaskV2(ThisItem.Id); Remove(MyTasks, ThisItem); // get tasks from selected folder in Outlook or default to Tasks folder ClearCollect( MyTasks, OutlookTasks.GetTasksInFolderV2(If(IsBlankOrError(TaskListSelector.Selected.Id),"Tasks",TaskListSelector.Selected.Id),{'$top':200}).value ); DisplayMode: =If(TimerRunning, DisplayMode.Disabled,DisplayMode.Edit) Height: =32 Icon: =Icon.Check Visible: =If(ThisItem.Status = "Completed",false,true) Width: =32 X: =(taskList_Gallery.TemplateWidth-Self.Width)-taskList_Gallery.TemplatePadding-20 Y: =18 - selectedIndicator: Control: Rectangle Properties: OnSelect: =Select(Parent) BorderColor: =RGBA(56, 96, 178, 1) Fill: =RGBA(56, 96, 178, 1) Height: =taskList_Gallery.TemplateHeight - separator.Height Visible: =ThisItem.IsSelected Width: =overdueIndicator.Width X: =If(And(DateValue(ThisItem.DueDateTime.DateTime)<=DateAdd(Today(),-1),ThisItem.Status <> "Completed"), 5, 0) - separator: Control: Rectangle Properties: OnSelect: =Select(Parent) Height: =3 Width: =taskList_Gallery.TemplateWidth Y: =taskList_Gallery.TemplateHeight - Self.Height - overdueIndicator: Control: Rectangle Properties: OnSelect: =Select(Parent) BorderColor: =RGBA(168, 0, 0, 1) Fill: =RGBA(168, 0, 0, 1) Height: =taskList_Gallery.TemplateHeight - separator.Height Visible: =If(And(DateValue(ThisItem.DueDateTime.DateTime)<=DateAdd(Today(),-1),ThisItem.Status <> "Completed"), true, false) Width: =5 - dueDateLabel: Control: Label Properties: OnSelect: =Select(Parent) Text: |- =If( showCompleteToggle.Value = true, Text( DateValue(ThisItem.CompletedDateTime.DateTime), "[$-en-GB]dd/mm/yyyy" ), If( taskSortBySelector.SelectedText.Value = "Due date", Text( DateValue(ThisItem.DueDateTime.DateTime), "[$-en-GB]dd/mm/yyyy" ), Text( DateValue(ThisItem.StartDateTime.DateTime), "[$-en-GB]dd/mm/yyyy" ) ) ) Tooltip: =If(taskSortBySelector.SelectedText.Value = "Due date","Due date","Start date") Color: =RGBA(31, 31, 31, 1) FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal) Height: =Self.Size * 1.8 PaddingBottom: =0 PaddingLeft: =0 PaddingRight: =0 PaddingTop: =0 Size: =defaultFontSize*0.9 VerticalAlign: =VerticalAlign.Top Width: =100 X: =25 Y: =40 - subjectLabel: Control: Label Properties: OnSelect: =Select(Parent) Text: =ThisItem.Subject Tooltip: =Self.Text Color: =RGBA(0, 0, 0, 1) FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal) Height: =Self.Size * 1.8 PaddingBottom: =0 PaddingLeft: =If(ThisItem.Importance="High",5,0) PaddingRight: =0 PaddingTop: =0 Size: =defaultFontSize VerticalAlign: =VerticalAlign.Top Width: =taskList_Gallery.TemplateWidth - 150 X: =If(ThisItem.Importance="High",urgentIcon.X+urgentIcon.Width,dueDateLabel.X) Y: =(taskList_Gallery.TemplateHeight - (Self.Size * 1.8 + dueDateLabel.Size * 1.8)) / 2
変更されたテキスト
ファイルを開く
- taskList_Gallery: Control: Gallery Variant: BrowseLayout_Vertical_TwoTextVariant_ver5.0 Properties: Items: |- =If( showCompleteToggle.Value = true, If( taskSortBySelector.SelectedText.Value = "Due date",// case sensitive Sort( Filter( MyTasks, // case sensitive Status = "Completed" ), DateValue(Text(DueDateTime.DateTime)), taskSortOrder ), Sort( Filter( MyTasks, Status = "Completed" ), DateValue(Text(StartDateTime.DateTime)), taskSortOrder ) ), If( taskSortBySelector.SelectedText.Value = "Due date", Sort( Filter( MyTasks, Status <> "Completed" ), DateValue(Text(DueDateTime.DateTime)), taskSortOrder ), Sort( Filter( MyTasks, Status <> "Completed" ), DateValue(Text(StartDateTime.DateTime)), taskSortOrder ) ) ) DelayItemLoading: =true Fill: =RGBA(237, 237, 237, 1) Height: =Self.TemplateHeight*10 Layout: =Layout.Vertical LoadingSpinner: =LoadingSpinner.Data TemplatePadding: =0 TemplateSize: =72 Width: =MainContainer.Width X: =700 Y: =73 Children: - urgentIcon: Control: Label Properties: OnSelect: =Select(Parent) Text: ="!" Tooltip: ="Mark complete" Color: =RGBA(31, 31, 31, 1) DisplayMode: =DisplayMode.View FontWeight: =FontWeight.Bold Height: =20 PaddingBottom: =0 PaddingLeft: =0 PaddingRight: =0 PaddingTop: =0 Size: =defaultFontSize*1.5 Visible: =If(ThisItem.Importance = "High",true,false) Width: =10 Y: =13 - startTaskTimer: Control: Classic/Icon Variant: Alarm Properties: OnSelect: | =Reset(taskTimer); taskTimer.Duration = timerLengthSelector.Selected.Value * 60000; UpdateContext( { TimerRunning: true, TimerStartTime: DateAdd( Now(), -TimeZoneOffset(Now()), TimeUnit.Minutes ), TaskSubject: taskList_Gallery.Selected.Subject } ); // hide settings menu If(showMenu,UpdateContext({showMenu: !showMenu})); // update sidebar height UpdateContext( { SidebarContainerHeight: If( // on mobile size Main.Size = ScreenSize.Small, // set to the header Height, add timer and button height if shown headerContainer.Height+If(TimerRunning,timerContainer.Height+stopButtonContainer.Height,0), // otherwise, just parent height mainScreenContainer.Height - (mainScreenContainer.PaddingTop+mainScreenContainer.PaddingBottom) ) } ); Tooltip: =Concatenate("Start ",formatTimerText," timer") DisplayMode: =If(TimerRunning, DisplayMode.Disabled,DisplayMode.Edit) Height: =32 HoverBorderColor: =RGBA(118, 0, 0, 1) Icon: =Icon.Clock Visible: =If(ThisItem.Status = "Completed",false,true) Width: =32 Y: =18 - doneButton: Control: Classic/Icon Variant: Check Properties: OnSelect: | =OutlookTasks.CompleteTaskV2(ThisItem.Id); Remove(MyTasks, ThisItem); // get tasks from selected folder in Outlook or default to Tasks folder ClearCollect( MyTasks, OutlookTasks.GetTasksInFolderV2(If(IsBlankOrError(TaskListSelector.Selected.Id),"Tasks",TaskListSelector.Selected.Id),{'$top':200}).value ); DisplayMode: =If(TimerRunning, DisplayMode.Disabled,DisplayMode.Edit) Height: =32 Icon: =Icon.Check Visible: =If(ThisItem.Status = "Completed",false,true) Width: =32 Y: =18 - selectedIndicator: Control: Rectangle Properties: OnSelect: =Select(Parent) BorderColor: =RGBA(56, 96, 178, 1) Height: =taskList_Gallery.TemplateHeight - separator.Height Visible: =ThisItem.IsSelected Width: =1 X: =If(And(DateValue(ThisItem.DueDateTime.DateTime)<=DateAdd(Today(),-1),ThisItem.Status <> "Completed"), 5, 0) - separator: Control: Rectangle Properties: OnSelect: =Select(Parent) Height: =3 Width: =taskList_Gallery.TemplateWidth Y: =taskList_Gallery.TemplateHeight - Self.Height - overdueIndicator: Control: Rectangle Properties: OnSelect: =Select(Parent) BorderColor: =RGBA(168, 0, 0, 1) Fill: =RGBA(168, 0, 0, 1) Height: =taskList_Gallery.TemplateHeight - separator.Height Visible: =If(And(DateValue(ThisItem.DueDateTime.DateTime)<=DateAdd(Today(),-1),ThisItem.Status <> "Completed"), true, false) Width: =1 - dueDateLabel: Control: Label Properties: OnSelect: =Select(Parent) Text: |- =If( showCompleteToggle.Value = true, Text( DateValue(ThisItem.CompletedDateTime.DateTime), "[$-en-GB]dd/mm/yyyy" ), If( taskSortBySelector.SelectedText.Value = "Due date", Text( DateValue(ThisItem.DueDateTime.DateTime), "[$-en-GB]dd/mm/yyyy" ), Text( DateValue(ThisItem.StartDateTime.DateTime), "[$-en-GB]dd/mm/yyyy" ) ) ) Tooltip: =If(taskSortBySelector.SelectedText.Value = "Due date","Due date","Start date") Color: =RGBA(31, 31, 31, 1) FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal) Height: =Self.Size * 1.8 PaddingBottom: =0 PaddingLeft: =0 PaddingRight: =0 PaddingTop: =0 Size: =defaultFontSize*0.9 VerticalAlign: =VerticalAlign.Top Width: =100 Y: =40 - subjectLabel: Control: Label Properties: OnSelect: =Select(Parent) Text: =ThisItem.Subject Tooltip: =Self.Text FontWeight: =If(ThisItem.IsSelected, FontWeight.Semibold, FontWeight.Normal) Height: =Self.Size * 1.8 PaddingBottom: =0 PaddingLeft: =If(ThisItem.Importance="High",5,0) PaddingRight: =0 PaddingTop: =0 Size: =defaultFontSize VerticalAlign: =VerticalAlign.Top Width: =taskList_Gallery.TemplateWidth - 150 X: =1 Y: =(taskList_Gallery.TemplateHeight - (Self.Size * 1.8 + dueDateLabel.Size * 1.8)) / 2
違いを見つける