• Stephan Bergmann's avatar
    Make CalcFocusRect look right · 143bb927
    Stephan Bergmann yazdı
    ...at least for its (only, it appears) uses at the left of the "Insert -
    Hyperlink" dialog and at the left of a Database window.  As aBmpRect and
    aTextRect never extend aBoundRect (and aTextRect always leaving a gap left and
    right towards aBoundRect, it appears, with the text abbreviated with an ellipsis
    if it would be too wide), there should be no need to eventually adjust "the
    focus rectangle [to] not touch the text," and for calculating the top of the
    focus rect aBoundRect can be used just as well as aBmpRect.  (Though for
    calculating the bottom, aBoundRect apparently stretches "too far" compareed to
    aTextRect; whatever...  The offsets look somewhat "magic" anyway, but appear to
    produce the desired visual results.)
    
    Change-Id: Ic324561294fb6172c0d02a697fc261717e01c87c
    Reviewed-on: https://gerrit.libreoffice.org/6165Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
    Tested-by: 's avatarEike Rathke <erack@redhat.com>
    143bb927
Adı
Son kayıt (commit)
Son güncelleme
..
inc/pch Loading commit data...
langsupport Loading commit data...
qa/unoapi Loading commit data...
source Loading commit data...
uiconfig/ui Loading commit data...
util Loading commit data...
AllLangResTarget_svt.mk Loading commit data...
Executable_langsupport.mk Loading commit data...
JunitTest_svtools_unoapi.mk Loading commit data...
Library_hatchwindowfactory.mk Loading commit data...
Library_svt.mk Loading commit data...
Makefile Loading commit data...
Module_svtools.mk Loading commit data...
README Loading commit data...
UIConfig_svt.mk Loading commit data...