code pointer for #fdo67040

Tommy barta at quipo.it
Fri Jul 19 04:37:50 PDT 2013


On Fri, 19 Jul 2013 13:13:43 +0200, Caolán McNamara <caolanm at redhat.com>  
wrote:

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

got it. it seems a very easy modification...
just one information what does those numbers exactly represent? digits or  
pixels or something else?
actually in LibO 4.0.4.2 the "Replace" field can contain 19 visible  
digits, whilst the "with" field can contain 39...


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


I'll take a look at that. thanks.
Tommy


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/



More information about the LibreOffice mailing list