markdwags / Razor

Razor is a free tool designed to help with simple tasks while playing Ultima Online.
https://www.razorce.com
GNU General Public License v3.0
134 stars 90 forks source link

[FEATURE] Resize the Razor Window? #178

Closed NewYears1978 closed 1 year ago

NewYears1978 commented 2 years ago

I would assume there must be a reason this was never done or at least had been requested before? I always hate when apps force the window size and it makes navigating and using it very difficult. How come the window cannot be resized?

Thanks in advance.

Is your feature request related to a problem? Please describe. Not necessarily a problem just makes using the window difficult since it is a set size and I am on a 1440p monitor.

Describe the solution you'd like Simply allow the Razor window to be resized instead of a fixed size?

Describe alternatives you've considered Not really any way around this issue.

markdwags commented 2 years ago

This is something that I can look at again, but ideally, we just move off of Winforms :)

dallenwilson commented 2 years ago

Do you have something in mind to move to? Switching to WPF would drop multi-platform support, while something like GtkSharp would keep multi-platform but mean some extra code to bundle with Razor, much like you've embedded FastColoredTextBox. There are other options beyond those two, as well.

markdwags commented 2 years ago

Under this open PR, a lot of great work was put in to isolate the Razor logic with the UI by @sorsarre

https://github.com/markdwags/Razor/pull/175

I built out a UI a few months back with AvaloiaUI that I'd use as a base for all the binding to the Razor backend. Here's some pics.

(Windows) 2021-09-10_16-54-34

(Linux) 2021-09-15_02-47-34

markdwags commented 1 year ago

This was added recently

https://github.com/markdwags/Razor/commit/c5ca92e93610c8c33ac98aa845e1545730b3533c