-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Caption Header bug on splitters #658
Labels
Comments
Maybe this fixes it?? diff --git a/foo_ui_columns/splitter_panel_container.cpp b/foo_ui_columns/splitter_panel_container.cpp
index 166bd16..753a7f5 100644
--- a/foo_ui_columns/splitter_panel_container.cpp
+++ b/foo_ui_columns/splitter_panel_container.cpp
@@ -124,7 +124,7 @@ LRESULT FlatSplitterPanel::Panel::PanelContainer::on_message(HWND wnd, UINT msg,
return 0;
size_t index = 0;
- if (!m_this->m_panels.find_by_wnd(wnd, index) && m_this->m_panels[index]->m_show_caption)
+ if (!m_this->m_panels.find_by_wnd(wnd, index) || !m_this->m_panels[index]->m_show_caption)
return 0;
const auto orientation = m_this->m_panels[index]->m_caption_orientation; |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have no idea if this is a SMP bug or CUI bug, since the only component I use with a setting for the transparency option is SMP (@TheQwertiest). But I think it's a CUI thing, which doesn't really hide the header but put it on the background... similar behavior will happen with other plugins which use transparency (@marc2k3 maybe JSP?)
Is just that the panel now paints over it! (if I change the coords on the script for ex...)
So well, header is not really hidden, it just get painted at other position which is usually covered by the background...
The text was updated successfully, but these errors were encountered: