Skip to content

Conversation

@lioneil
Copy link

@lioneil lioneil commented Apr 6, 2024

This builds on #146.

Fixes various Help hints in the Main Menu dialog not inheriting the current theme's styling.

Sample:
I'm using the same theme for both screenshot.

Before (help hint is supposed to be centered):
image

After the fix:
image

Before (Comic-Book theme, help hints are unstyled):
image

After:
image

There are other screens with the same issues: scraper menu, deeper down the custom collection submenus, the TextEdit dialogs, etc.

Hopefully this fixes all of them.

Note: I am not really a C++ developer, so you might see some poor choices I made in code.

@pjft
Copy link
Collaborator

pjft commented Apr 8, 2024

Thanks for sending this over! Let me take a look at this and revert.

const std::string& name2, const std::function<void()>& func2,
const std::string& name3, const std::function<void()>& func3) : GuiComponent(window),
mBackground(window, ":/frame.png"), mGrid(window, Vector2i(1, 2))
GuiMsgBox::GuiMsgBox(Window *window, const std::string &text,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we revert these types of changes if possible, as they're stylistic but not really functional? Thanks.

@pjft
Copy link
Collaborator

pjft commented Jun 14, 2024

Thank you for putting this together. I tested it and it's working as intended.

Could you add it to the Edit Metadata window as well, and potentially squash everything into a single commit?

Any minor adjustments to the code - such as the comment I left regarding minor code style changes - can be applied in the same.

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants