diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-07-10 21:02:04 +0200 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-07-10 21:09:44 +0200 |
commit | 2eb750cdd67710eb10292654a6eda8415d528765 (patch) | |
tree | c5ac6b7d9dd86058bfb52b65644682ec51891e84 /sd | |
parent | 1c01cf1ef56f63d8a827298c5e7f900b1ea37f49 (diff) |
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.cxx | 3 |
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 { |