code pointer for #fdo67040

Caolán McNamara caolanm at redhat.com
Fri Jul 19 04:13:43 PDT 2013


On Fri, 2013-07-19 at 08:27 +0200, Tommy wrote:
> please, can anyone tell me which file should I try to hack in order to  
> modify the appearance of the autocorrect replacement table dialog?
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=67040
> 
> two things could be done:
> 1 (easiest) - make the "replace" field larger and symmetrical with the  
> "with" field

GLADE_CATALOG_SEARCH_PATH="workdir/*/CustomTarget/extras/source/glade"
glade cui/uiconfig/ui/acorreplacepage.ui 

and look at the "general" page of origtext and newtext and change the
"width in chars"

(or just edit the xml directly with a text editor and search for 30 and
20)

> 2 (harder) - make the whole dialog window resizable just like the print  
> dialog

Resizibility of the full dialog comes when all tabs are converted to new
widget layout. In this case in master only two of the five autocorrect
tabs are converted so the remaining three need to be converted over. The
"Word Completion" page looks the easiest to start with. You should be
able to get a long way by consulting the other examples in that cui
uiconfig dir and the wiki
https://wiki.documentfoundation.org/Development/WidgetLayout

C.



More information about the LibreOffice mailing list