https://bugs.documentfoundation.org/show_bug.cgi?id=101443
--- Comment #12 from Heiko Tietze <[email protected]> ---
Created attachment 137452
--> https://bugs.documentfoundation.org/attachment.cgi?id=137452&action=edit
Without left offset
Agree with the OP that it looks not too good. Tried with LEFT_OFFSET 0 and that
solves the situation on Linux (Qt) but not really on macOS. Screenshot from
left to right: current situation, how it looks with zero offset on Linux and on
macOS. Patch is here https://gerrit.libreoffice.org/#/c/44205/
Proper solution would be to place the scrollbar right hand of the button above.
Guess this is the code pointer where SetPosPixel() could be replaced.
void ScInputBarGroup::Resize()
...
long nWidth = pParent->GetSizePixel().Width();
long nLeft = GetPosPixel().X();
Size aSize = GetSizePixel();
aSize.Width() = std::max(long(nWidth - nLeft - LEFT_OFFSET), long(0));
maScrollbar->SetPosPixel(Point( aSize.Width() -
maButton->GetSizePixel().Width(), maButton->GetSizePixel().Height() ) );
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs