MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Large spacing between some elements in horizontal mode

Open zany130 opened this issue 2 years ago • 7 comments

Describe the bug Large spacing between some elements in horizontal mode

List relevant hardware/software information

  • Linux Distribution Garuda Linux
  • MangoHud version 0.6.9.1.r124.gf667002-1
  • GPU 6700XT

To Reproduce Steps to reproduce the behavior:

  1. Use the provided mangohud config
  2. See error

Expected behavior Everything fits nicely without a lot of spacing Screenshots Screenshot_14-min

Additional context MangoHud.txt

Maybe a user-configurable setting to adjust padding? However the amount of padding seems to vary by the element in use...

zany130 avatar Sep 05 '23 03:09 zany130

Does hud_compact=1 make it any better for you?

gort818 avatar Oct 13 '23 23:10 gort818

yeah that what I been using for now but that makes some items too compact and there is some left over space I was looking for a way to basically configure the compactness of hud_compact

zany130 avatar Oct 13 '23 23:10 zany130

Does this patch work for you? Set the 10 to whatever you like hud_compact.txt

I can make a new param so we can adjust that value from config file

gort818 avatar Oct 14 '23 22:10 gort818

Doesn't seem to make any difference on spacing of the elements tried different values

ImGui::SetCursorPosX(pos.x + 5);

could be applying it wrong though never really working with patches on git before but I been doing this

git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git
cd MangoHud
wget https://github.com/flightlessmango/MangoHud/files/12908158/hud_compact.txt
micro hud_compact.txt
git apply hud_compact.txt
./build.sh build

zany130 avatar Oct 15 '23 02:10 zany130

hmm seems to work for me Here is + 10 x=10 Here is + 50 x=50

gort818 avatar Oct 15 '23 16:10 gort818

Just tried again by removing the cloned folder and replacing the 10 with 50 no difference

here is what I ran

git clone --recurse-submodules https://github.com/flightlessmango/MangoHud.git
cd MangoHud
wget https://github.com/flightlessmango/MangoHud/files/12908158/hud_compact.txt
micro hud_compact.txt
git apply hud_compact.txt
./build.sh build
build/release/usr/bin/mangohud vkcube

before image

after

image

zany130 avatar Oct 15 '23 20:10 zany130