Ask Your Question

Ribbon UI - The property name "ypadd" is not working in notebookbar.ui file...

asked 2017-02-09 09:35:08 +0200

zhaoqingshu gravatar image

updated 2017-02-09 10:18:19 +0200

Hi, all.

I want to customize the ribbon UI supported from the LibreOffice 5.3 experimental version. First, I want to customize the ribbon ui in swriter. I found out I have to make some changes on notebookbar.ui file located in the following folder : /instdir/share/config/soffice.cfg/modules/writer/ui/notebookbar.ui

What I wanted to make changes is to make the "Home" tab wider on ribbon ui, so I added the following line in the above notebookbar.ui file. <property name="ypad">38</property> After adding this line, I restarted the swriter.exe in instdir folder, but nothing changed. What's wrong? So now I wonder if vcl can't parse this property name...

Who can resolve this issue? Please help me !!! It's kinda urgent task!!!

And I don't even know how the .ui file is used and rendered in libreoffice code structure ... In a word, I want to know the mechanism how the .ui and .xml files are used to configure GUI ...

Look forward to hearing from somebody!!!

Thanks. Yoshitoshi.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-02-09 15:54:06 +0200

Ratslinger gravatar image

You are more likely to get an answer on developers mailing list (click here) or on the IRC (link found here).

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-02-09 09:35:08 +0200

Seen: 87 times

Last updated: Feb 09 '17