From 2eb750cdd67710eb10292654a6eda8415d528765 Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Thu, 10 Jul 2014 21:02:04 +0200 Subject: 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 --- sd/source/ui/dlg/RemoteDialogClientBox.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sd') diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx index 4af291f3e766..ab454a1809c9 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 { -- cgit