reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 35a4ea76a7640c4181924ab7fdd2829627e2a7da
parent f176499fe31c60047f7df5231d269378ceb6e7ea
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Thu,  5 Jan 2017 19:20:19 -0800

about: fix link button position when restoring the window's size

Diffstat:
Msrc/about.cpp | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/about.cpp b/src/about.cpp @@ -71,9 +71,11 @@ void About::onInit() setAnchor(m_list->handle(), AnchorRight | AnchorBottom); setAnchor(getControl(IDC_REPORT), AnchorRight | AnchorBottom); setAnchor(getControl(IDC_CHANGELOG), AnchorRight | AnchorBottom); + setAnchor(getControl(IDC_WEBSITE), AnchorTop | AnchorBottom); + setAnchor(getControl(IDC_DONATE), AnchorTop | AnchorBottom); + setAnchor(getControl(IDC_SCREENSHOT), AnchorTop | AnchorBottom); setAnchor(getControl(IDC_ACTION), AnchorAll); setAnchor(getControl(IDOK), AnchorAll); - // link buttons are anchored in setMetadata auto data = m_serializer.read(m_reapack->config()->windowState.about, 1); restoreState(data);