• 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
..
brwbox Loading commit data...
config Loading commit data...
contnr Loading commit data...
control Loading commit data...
dialogs Loading commit data...
edit Loading commit data...
filter Loading commit data...
graphic Loading commit data...
hatchwindow Loading commit data...
inc Loading commit data...
java Loading commit data...
misc Loading commit data...
svhtml Loading commit data...
svrtf Loading commit data...
table Loading commit data...
toolpanel Loading commit data...
uno Loading commit data...
urlobj Loading commit data...