sd/source/ui/dlg/RemoteDialogClientBox.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 2eb750cdd67710eb10292654a6eda8415d528765 Author: Andrzej Hunt <andrzej.h...@collabora.com> Date: Thu Jul 10 21:02:04 2014 +0200 Align the pin-box description better. This layouting isn't really great -- it would probably be better to have some sort of normal widget construction in the longer run, but for now this makes the dialog look a bit better. Change-Id: Id40866b68992c9fb03049903fe19d4c68936945a diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx index 4af291f..ab454a1 100644 --- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx +++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx @@ -379,6 +379,9 @@ void ClientBox::RecalcAll() aPos = Point( aEntryRect.Left() + GetTextWidth( sPinText ), aEntryRect.Bottom() - TOP_OFFSET - aPinBoxSize.Height() ); m_aPinBox.SetPosPixel( aPos ); + // The text would have it's TOP aligned with the top of + // the pin box -- hence we push it down to align baselines. + m_sPinTextRect += Point( 0, 4 ); } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits