https://bugs.freedesktop.org/show_bug.cgi?id=51534

Michael Meeks <michael.me...@collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Michael Meeks <michael.me...@collabora.com> ---
Soo ... we want to remove a setting for a separate ruler background, and re-use
the app background for these rulers ?

Unfortunately the swruler.cxx -> svx/ruler.hxx -> svtools/ruler.hxx: rather a
pile of code in this regard.

I assume that svtools/source/ruler.cxx:

void Ruler::ImplInitSettings( bool bFont, bool bForeground, bool bBackground )

is the code that gets this sorted out; as such I guess we need to call:

void Window::SetControlBackground( const Color& rColor )

on this guy; or switch:

            aColor = rStyleSettings.GetDialogColor();

to something more fun.

Anyhow - I have pushed a patch to master; most probably it breaks every
non-document related use of a ruler but ... lets see. Worth checking out the
report designer etc.

Also - *honestly* this was not a MAB, nor is it a regression AFAICS. No idea
how we went from easy hack to 4.3 MAB [!].

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to