mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
GfxPack: Workaround for invisible detail panel
Fixes #1307 There is probably a better way to calculate the maximum width. But this suffices for now as a workaround
This commit is contained in:
@@ -458,10 +458,10 @@ void GraphicPacksWindow2::OnTreeSelectionChanged(wxTreeEvent& event)
|
||||
|
||||
m_shown_graphic_pack = gp;
|
||||
|
||||
m_graphic_pack_name->Wrap(m_graphic_pack_name->GetParent()->GetClientSize().GetWidth() - 10);
|
||||
m_graphic_pack_name->Wrap(m_graphic_pack_name->GetParent()->GetClientSize().GetWidth() - 20);
|
||||
m_graphic_pack_name->GetGrandParent()->Layout();
|
||||
|
||||
m_graphic_pack_description->Wrap(m_graphic_pack_description->GetParent()->GetClientSize().GetWidth() - 10);
|
||||
m_graphic_pack_description->Wrap(m_graphic_pack_description->GetParent()->GetClientSize().GetWidth() - 20);
|
||||
m_graphic_pack_description->GetGrandParent()->Layout();
|
||||
|
||||
m_right_panel->FitInside();
|
||||
|
||||
Reference in New Issue
Block a user