File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ template $GradiaImageSidebar : Adw.Bin {
4242 margin-end: 12;
4343 margin-top: 12;
4444 margin-bottom: 12;
45+ valign: start;
4546 spacing:12;
4647
4748 $GradiaDrawingToolsGroup drawing_tools_group {}
Original file line number Diff line number Diff line change @@ -187,18 +187,18 @@ def _notify_image_options_changed(self) -> None:
187187
188188 self .on_image_options_changed (options )
189189
190- def _set_selective_sensitivity (self , is_disabled : bool ) -> None :
190+ def _set_selective_visiblility (self , is_disabled : bool ) -> None :
191191 self .padding_row .set_sensitive (not is_disabled )
192- self .corner_radius_row .set_sensitive (not is_disabled )
193- self .aspect_ratio_selector .set_sensitive (not is_disabled )
194- self .shadow_strength_row .set_sensitive (not is_disabled )
192+ self .corner_radius_row .set_visible (not is_disabled )
193+ self .aspect_ratio_selector .set_visible (not is_disabled )
194+ self .shadow_strength_row .set_visible (not is_disabled )
195195
196196 def _on_background_mode_changed (self , mode : str ) -> None :
197197 self ._background_mode = mode
198198 is_disabled = mode == "none"
199199 self ._updating_widgets = True
200200
201- self ._set_selective_sensitivity (is_disabled )
201+ self ._set_selective_visiblility (is_disabled )
202202
203203 if is_disabled :
204204 options = self ._get_disabled_options ()
You can’t perform that action at this time.
0 commit comments