https://bugs.documentfoundation.org/show_bug.cgi?id=94221

--- Comment #5 from Regina Henschel <[email protected]> ---
I have already found a reason: The items of class GtkSeparatorToolItem in
svx\uiconfig\ui\dockingfontwork.ui are count too. Therefore you have to
increase the numbers after the separator in SvxFontWorkDialog in
svx\source\dialog\fontwork.cxx.

For example
get(m_pTbxStyle, "style");
    nStyleOffId = m_pTbxStyle->GetItemId(0);
    m_pTbxStyle->SetItemBits(nStyleOffId, ToolBoxItemBits::AUTOCHECK);
    // separator is item "1"
    nStyleRotateId = m_pTbxStyle->GetItemId(2);
    m_pTbxStyle->SetItemBits(nStyleRotateId,
ToolBoxItemBits::AUTOCHECK|ToolBoxItemBits::RADIOCHECK);
    nStyleUprightId = m_pTbxStyle->GetItemId(3);

instead of
get(m_pTbxStyle, "style");
    nStyleOffId = m_pTbxStyle->GetItemId(0);
    m_pTbxStyle->SetItemBits(nStyleOffId, ToolBoxItemBits::AUTOCHECK);
    nStyleRotateId = m_pTbxStyle->GetItemId(1);
    m_pTbxStyle->SetItemBits(nStyleRotateId,
ToolBoxItemBits::AUTOCHECK|ToolBoxItemBits::RADIOCHECK);
    nStyleUprightId = m_pTbxStyle->GetItemId(2);

But that is not the only problem. The alignment group (left, center, right,
autosize) does not work correct in the way, that only one may be selected. And
toggle of "text contour" does not work.

-- 
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

Reply via email to