summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-10 21:02:04 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-10 21:09:44 +0200
commit2eb750cdd67710eb10292654a6eda8415d528765 (patch)
treec5ac6b7d9dd86058bfb52b65644682ec51891e84 /sd
parentThis forward declaration no longer needed. (diff)
downloadcore-2eb750cdd67710eb10292654a6eda8415d528765.tar.gz
core-2eb750cdd67710eb10292654a6eda8415d528765.zip
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
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/RemoteDialogClientBox.cxx3
1 files changed, 3 insertions, 0 deletions
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
{