mmanela / diffplex

DiffPlex is Netstandard 1.0+ C# library to generate textual diffs.
Apache License 2.0
990 stars 183 forks source link

WPF DiffViewer Splitter bar issue #90

Open wegoodwin opened 2 years ago

wegoodwin commented 2 years ago

For some reason the splitter bar is not working when I use the WPF example provided. On the design window it shows the splitter bar offset to the left of the screen. When I run the app I cannot move the splitter bar at all. I have attached a screenshot of the issue. ss1

jimberg98 commented 8 months ago

Did you ever figure this out? I have the same issue. When I do a compare, the splitter is in the middle of the oldtext pane and doesn't do anything. I can't believe it's been two years and no one has responded.

wegoodwin commented 8 months ago

No,

I never did.


From: Jim Berg @.> Sent: Saturday, December 23, 2023 4:29 PM To: mmanela/diffplex @.> Cc: wegoodwin @.>; Author @.> Subject: Re: [mmanela/diffplex] WPF DiffViewer Splitter bar issue (Issue #90)

Did you ever figure this out? I have the same issue. When I do a compare, the splitter is in the middle of the oldtext pane and doesn't do anything. I can't believe it's been two years and no one has responded.

— Reply to this email directly, view it on GitHubhttps://github.com/mmanela/diffplex/issues/90#issuecomment-1868373133, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKTMT3EMWUG3ZO5HLH4NVU3YK5EMXAVCNFSM5JP6HHR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWHAZTOMZRGMZQ. You are receiving this because you authored the thread.Message ID: @.***>

jimberg98 commented 8 months ago

I figured it out. They used a GridSplitter in DiffViewer.xaml and didn't set HorizontalAlignment="Right". I think it defaulits to "Center" so it shows the splitter at the center of the old text pane. This is definitely a work in progress at this point.

wegoodwin commented 8 months ago

OK,

Thanks.


From: Jim Berg @.> Sent: Sunday, December 24, 2023 7:32 AM To: mmanela/diffplex @.> Cc: wegoodwin @.>; Author @.> Subject: Re: [mmanela/diffplex] WPF DiffViewer Splitter bar issue (Issue #90)

I figured it out. They used a GridSplitter in DiffViewer.xaml and didn't set HorizontalAlignment="Right". I think it defaulits to "Center" so it shows the splitter at the center of the old text pane. This is definitely a work in progress at this point.

— Reply to this email directly, view it on GitHubhttps://github.com/mmanela/diffplex/issues/90#issuecomment-1868506195, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKTMT3DVPR4GLIKFX3VHKDTYLAOEXAVCNFSM5JP6HHR2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWHA2TANRRHE2Q. You are receiving this because you authored the thread.Message ID: @.***>

mmanela commented 8 months ago

@jimberg98 Is this a bug or just something that needs documentation? FYI @kingcean