abbaye / WpfHexEditorControl

Wpf Hexeditor is a powerful and fully customisable user control for editing file or stream as hexadecimal, decimal and binary. Can be used in Wpf or WinForm application
https://www.nuget.org/packages/WPFHexaEditor/
Apache License 2.0
815 stars 136 forks source link

Add support for changing the width of string bytes #94

Closed BryceBarbara closed 3 years ago

BryceBarbara commented 3 years ago

I personally think the spacing between the string bytes is a bit much but since that's pretty subjective, I added a way to change it!

Let me know what you think

Before After (StringByteWidth set to 8)
image image
BryceBarbara commented 3 years ago

Ignore the red border in the After screenshot. That was from debug tools

abbaye commented 3 years ago

It's nice for me! Thank you.

I will merge right now

abbaye commented 3 years ago

Tip: Use NameOf() in your dependancyproperty.Register declaration :)

BryceBarbara commented 3 years ago

Oh thanks! I literally copied it from the BytePerLine declaration that was right above it and continued that pattern. We should probably go through and update all of them to use nameof going forward.

abbaye commented 3 years ago

Yess I just forgot to update this property :) thanks