LemonUIbyLemon / LemonUI

LemonUI for .NET (FiveM, RageMP, RagePluginHook and ScriptHookVDotNet 3)
MIT License
177 stars 40 forks source link

Remove excessive NativeGridPanel height if GridStyle is Row #111

Closed tomilovsenya closed 1 year ago

tomilovsenya commented 1 year ago

NativeGridPanel has a constant height of 270px which seems excessive when GridStyle is set to Row. I made a little condition that makes NativeGridPanel only 60px tall for GridStyle.Row to suit my mod, and I think this is how it needs to be in LemonUI by default.

20230408215847_1

Optionally, we could allow to change height of NativeGridPanel.

justalemon commented 1 year ago

There is a lot wrong here, mainly:

tomilovsenya commented 1 year ago

Oh, pushed newer commits accidentally, there was just one originally. I'll make a proper one later.