|
112 | 112 | IsChecked="{Binding UpdateNotificationsEnabled}"> |
113 | 113 | <TextBlock Text="Notify about extension updates"/> |
114 | 114 | </CheckBox> |
115 | | - <CheckBox Margin="5" |
116 | | - IsChecked="{Binding DetectIdlingEnabled}"> |
117 | | - <TextBlock Text="Detect idling"/> |
118 | | - </CheckBox> |
119 | | - <CheckBox Margin="5" |
120 | | - IsEnabled="{Binding DetectIdlingEnabled}" |
121 | | - IsChecked="{Binding ResetTimersAfterIdling}"> |
122 | | - <TextBlock Text="Reset timers after idling"/> |
123 | | - </CheckBox> |
124 | | - <TextBlock Text="Idle time (minutes):"/> |
125 | | - <TextBox Name="IdleTimeTextBox" |
126 | | - IsEnabled="{Binding DetectIdlingEnabled}" |
127 | | - Text="{Binding IdleTime}" |
128 | | - PreviewTextInput="ValidateIdleTimeTextBox"/> |
129 | | - |
| 115 | + |
| 116 | + <Expander Header="Idling" |
| 117 | + Margin="5 5 5 0"> |
| 118 | + <StackPanel> |
| 119 | + <StackPanel |
| 120 | + Orientation="Horizontal" |
| 121 | + VerticalAlignment="Center" |
| 122 | + Margin="5 5 5 0" |
| 123 | + IsEnabled="{Binding DetectIdlingEnabled}"> |
| 124 | + <CheckBox |
| 125 | + IsChecked="{Binding DetectIdlingEnabled}" |
| 126 | + VerticalAlignment="Center"> |
| 127 | + <TextBlock Text="Detect idling after "/> |
| 128 | + </CheckBox> |
| 129 | + <TextBox Name="IdleTimeTextBox" |
| 130 | + VerticalAlignment="Center" |
| 131 | + TextAlignment="Center" |
| 132 | + VerticalContentAlignment="Center" |
| 133 | + Text="{Binding IdleTime}" |
| 134 | + MaxLength="5" |
| 135 | + PreviewTextInput="ValidateIdleTimeTextBox" |
| 136 | + Width="40"/> |
| 137 | + <TextBlock VerticalAlignment="Center" |
| 138 | + Text=" minutes"/> |
| 139 | + </StackPanel> |
| 140 | + <CheckBox Margin="5 3" |
| 141 | + IsEnabled="{Binding DetectIdlingEnabled}" |
| 142 | + IsChecked="{Binding ResetTimersAfterIdling}"> |
| 143 | + <TextBlock Text="Reset timers after idling"/> |
| 144 | + </CheckBox> |
| 145 | + </StackPanel> |
| 146 | + </Expander> |
| 147 | + |
130 | 148 | <Expander Header="Advanced" |
131 | 149 | Margin="5"> |
132 | 150 | <StackPanel Margin="5"> |
|
0 commit comments