@@ -179,6 +179,13 @@ public DictOptions GetDictOptions(DictType type, bool autoUpdatable)
179179 showImagesOption = new ShowImagesOption ( ShowImagesCheckBox . IsChecked . Value ) ;
180180 }
181181
182+ ShowImageAtBottomOption ? showImageAtBottomOption = null ;
183+ if ( ShowImageAtBottomOption . ValidDictTypes . Contains ( type ) )
184+ {
185+ Debug . Assert ( ShowImageAtBottomCheckBox . IsChecked is not null ) ;
186+ showImageAtBottomOption = new ShowImageAtBottomOption ( ShowImageAtBottomCheckBox . IsChecked . Value ) ;
187+ }
188+
182189 DictOptions options = new (
183190 useDBOption ,
184191 noAllOption ,
@@ -200,7 +207,8 @@ public DictOptions GetDictOptions(DictType type, bool autoUpdatable)
200207 antonymOption ,
201208 showPitchAccentWithDottedLines ,
202209 autoUpdateAfterNDaysOption ,
203- showImagesOption ) ;
210+ showImagesOption ,
211+ showImageAtBottomOption ) ;
204212
205213 return options ;
206214 }
@@ -225,6 +233,7 @@ public void GenerateDictOptionsElements(DictType dictType, DictOptions? dictOpti
225233 OptionUtils . ChangeVisibilityOfCheckBox ( UseDBOption . ValidDictTypes . Contains ( dictType ) , UseDBCheckBox , dictOptions ? . UseDB . Value ?? true , ref showDictOptions ) ;
226234 OptionUtils . ChangeVisibilityOfCheckBox ( ShowPitchAccentWithDottedLinesOption . ValidDictTypes . Contains ( dictType ) , ShowPitchAccentWithDottedLinesCheckBox , dictOptions ? . ShowPitchAccentWithDottedLines ? . Value ?? true , ref showDictOptions ) ;
227235 OptionUtils . ChangeVisibilityOfCheckBox ( ShowImagesOption . ValidDictTypes . Contains ( dictType ) , ShowImagesCheckBox , dictOptions ? . ShowImages ? . Value ?? true , ref showDictOptions ) ;
236+ OptionUtils . ChangeVisibilityOfCheckBox ( ShowImageAtBottomOption . ValidDictTypes . Contains ( dictType ) , ShowImageAtBottomCheckBox , dictOptions ? . ShowImageAtBottom ? . Value ?? true , ref showDictOptions ) ;
228237 OptionUtils . ChangeVisibilityOfColorButton ( PitchAccentMarkerColorOption . ValidDictTypes . Contains ( dictType ) , PitchAccentMarkerColorButton , PitchAccentMarkerColorDockPanel , dictOptions ? . PitchAccentMarkerColor ? . Value , DictOptionManager . PitchAccentMarkerColor , ref showDictOptions ) ;
229238 OptionUtils . ChangeVisibilityOfColorButton ( POrthographyInfoColorOption . ValidDictTypes . Contains ( dictType ) , POrthographyInfoColorButton , POrthographyInfoColorDockPanel , dictOptions ? . POrthographyInfoColor ? . Value , DictOptionManager . POrthographyInfoColor , ref showDictOptions ) ;
230239 OptionUtils . ChangeVisibilityOfNumericUpDown ( POrthographyInfoFontSizeOption . ValidDictTypes . Contains ( dictType ) , POrthographyInfoFontSizeNumericUpDown , POrthographyInfoFontSizeDockPanel , dictOptions ? . POrthographyInfoFontSize ? . Value ?? 15 , ref showDictOptions ) ;
0 commit comments