Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget positional values not editable in visible state #79

Open
treierxyz opened this issue Sep 17, 2023 · 0 comments
Open

Widget positional values not editable in visible state #79

treierxyz opened this issue Sep 17, 2023 · 0 comments

Comments

@treierxyz
Copy link
Contributor

When any widget is set as visible, you can't change the position and size values for the widget through text values.

This seems to be related to SettingsWidgets.as function RenderInterface(). I am not sure what exactly could be the fix, but commenting out

thing.SetProportions(thing.m_pos, thing.m_size);
and tinkering with
g_settingsMoveCond = UI::Cond::Appearing;
seems to help. Again, I'm not sure of the root cause.

The current workaround is to hide the widget (disable both Visible UI and Hidden UI), set the values, and then unhide.

@treierxyz treierxyz changed the title Widget values not editable in visible state Widget positional values not editable in visible state Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant