tyfon7 / UIFixes

Small QOL fixes for SPTarkov
MIT License
8 stars 1 forks source link

Feature Request: Extend window resize functionality to other windows in the game #32

Open iTheSailor opened 1 month ago

iTheSailor commented 1 month ago

The window resize functionality that is present for the item inspect window...

image

...would be very useful if extended to the Add Offer window in the flea market, as the Add Offer window always blocks SOME pertinent information, whether that be the quantity of items, or the price of the listing

image

and maybe also the repair window for the sake of continuity and uniformity, I cant think of any other window modules off the top of my head

It's not global UI resizing, but it's something

--ps thank you for the quick 2.0.2 fix, my heart nearly broke when I thought I had to endure it without this mod for a bit

tyfon7 commented 1 month ago

The challenge for the add offer window is not just making it resizable, but what happens when you shrink it. The requirements side could get a little thinner or shorter, though not by much. The stash side can go as short as you like, but not thinner without adding horizontal scrolling - which I'm not sure exists in this game? I can't think of any places that use it...

iTheSailor commented 1 month ago

horizontal scrolling exists in the sorting table in stash! :D

image

iTheSailor commented 1 month ago

and the interesting part is it's always there, it just doesn't engage until the space hits a minimum width- which i'm assuming is the actual width of the scroll bar itself. they just jammed an oversized component and said "if they need it's there"

tyfon7 commented 1 month ago

Oh, the sorting table is even weirder than you think. It's not oversized, it actually grows, a fact that complicates their code immensely.

But yeah, that's a horizontal scrollbar! So at least it's doable. I'll add it the list.

iTheSailor commented 1 month ago

If you end up going through with it and find yourself with an excess of time, I'd love to get to watch your implementation and workflow- I am looking to start modding my self soon and am trying to teach myself c# (python background), i think a tour of what the dev environment looks like for SPT would be invaluable for me getting upto speed

On Tue, Jul 9, 2024 at 3:30 PM Tyfon @.***> wrote:

Oh, the sorting table is even weirder than you think. It's not oversized, it actually grows, a fact that complicates their code immensely.

But yeah, that's a horizontal scrollbar! So at least it's doable. I'll add it the list.

— Reply to this email directly, view it on GitHub https://github.com/tyfon7/UIFixes/issues/32#issuecomment-2218483609, or unsubscribe https://github.com/notifications/unsubscribe-auth/A24U4DVZRHLDNTYIAB5YLM3ZLQ247AVCNFSM6AAAAABKS7DU42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGQ4DGNRQHE . You are receiving this because you authored the thread.Message ID: @.***>