eclipse-cdt-cloud / vscode-memory-inspector

vscode memory inspector
https://open-vsx.org/extension/eclipse-cdt/memory-inspector
Eclipse Public License 2.0
6 stars 10 forks source link

Avoid line break when editing a value while Auto Fit is enabled #132

Closed martin-fleck-at closed 4 months ago

martin-fleck-at commented 4 months ago

What it does

Fixes #112

How to test

Review checklist

Reminder for reviewers

jreineckearm commented 4 months ago

Nice! I can see that the problematic behavior with the edit box is gone. But unfortunately, I see now line breaks in corner cases without edit box which do not show with the main branch.

image

image

@martin-fleck-at , could you please have a look?

planger commented 4 months ago

@jreineckearm Thanks for noticing the issue! I've had a look and fixed the width calculation, which now didn't take the additional 1px padding left and right for the potential input field when editing into account. Can you please check if this also resolves the issue for you? Thank you!

Edit: Also I rebased to take in the recent merge of the CSS changes to make sure they don't have an impact.

planger commented 4 months ago

Thank you for confirming @jreineckearm! @colin-grant-work I think this isn't a critical change with some big impact, but wanted to put you in the loop before merging. Please let me know if you have any feedback or are ok with this change. Thank you!