Explorar o código

Fix to weird layout issues with EmbeddedImage

Kenric Nugteren hai 3 días
pai
achega
c7aa028126

+ 0 - 6
inabox.wpf/DigitalForms/Designer/Controls/Fields/DFEmbeddedImageControl.cs

@@ -369,12 +369,6 @@ namespace InABox.DynamicGrid
         protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
         {
             base.OnPropertyChanged(e);
-            if (e.Property == IsEnabledProperty)
-            {
-                _grid.RowDefinitions[1].Height = (bool)e.NewValue
-                    ? GridLength.Auto
-                    : new GridLength(0);
-            }
         }
         protected override bool IsEmpty() => _isEmpty;
     }