diff --git a/Source/Core/Controls/ImageBrowserItem.cs b/Source/Core/Controls/ImageBrowserItem.cs index e63fd55d..3c1b1c51 100755 --- a/Source/Core/Controls/ImageBrowserItem.cs +++ b/Source/Core/Controls/ImageBrowserItem.cs @@ -157,7 +157,7 @@ namespace CodeImp.DoomBuilder.Controls int fontH = 4 + SystemFonts.MessageBoxFont.Height; int h2 = h; - if (General.Settings.TextureSizesBelow && ItemType == ImageBrowserItemType.IMAGE) + if (General.Settings.ShowTextureSizes && General.Settings.TextureSizesBelow && ItemType == ImageBrowserItemType.IMAGE) h2 -= fontH; var iw = bmp.Width; diff --git a/Source/Core/Controls/ImageSelectorPanel.cs b/Source/Core/Controls/ImageSelectorPanel.cs index b7ade877..5d1ed1f1 100755 --- a/Source/Core/Controls/ImageSelectorPanel.cs +++ b/Source/Core/Controls/ImageSelectorPanel.cs @@ -530,7 +530,7 @@ namespace CodeImp.DoomBuilder.Controls int wid = Math.Max((imagesize > 0 ? imagesize : preview.Width), ti.TextureNameWidth) + padhorz + padhorz; int hei = (imagesize > 0 ? imagesize : preview.Height) + padvert + padvert + font; // if we draw height below, add another font - if (General.Settings.TextureSizesBelow && ti.ItemType == ImageBrowserItemType.IMAGE) + if (General.Settings.ShowTextureSizes && General.Settings.TextureSizesBelow && ti.ItemType == ImageBrowserItemType.IMAGE) hei += font; if(rw < wid)