Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hi Michael, All

Em 07-01-2014 19:32, Michael Meeks escreveu:
Hi Olivier,

On Tue, 2014-01-07 at 17:37 -0200, Olivier Hallot wrote:
On 01/07/2014 06:05 PM, Olivier Hallot wrote:
I have a demand to tweak some dialogs with better layout or widgets
positions. In order to avoid disruption with the core development, I
would like to know if these .ui dialogs can be packed into UNO
extensions.

No, there is no support for .ui files in .oxt extensions.

      So - just to confirm; it's not that you want to add new dialogs, but
you want to clobber / override existing application .ui dialogs with
changes / tweaks using an extension ? :-)

      Sounds like an interesting idea; but - extremely dangerous code-wise;
liable to introduce SEGV's all over the place if widgets are not there I
think.


I have converted tens of SRC file to UI, so I know you can rearrange the
widgets but you can't add nor drop any of them without touching the
dialog ctors.


OK, so this is a fact today. Is it doable or are we going to die trying?
GSoC 2014? (I know I can get what I want by changing the ui file at
installation time)

      It's not 100% clear what you'd like - is it that you want to use the
new .ui file stuff inside an extension [ if so, that's rather do-able I
think ]. If it is overriding / tweaking existing files it's more
problematic.

I know I can pick a UI file, rearrange it with Glade, and put back in
place, even in hot mode. If I can do it with an extension (knowing the
caveats), it will get another degree of freedom in my UI.

I have one (easy) situation, which I already sent to UI list, but no
decision was made... It refers to the position of the default button in
Save As dialog. In this dialog, the "keep as MS format" button is the
default and is on the left. IMHO it should be on the right and "Save As
ODF" should be emphasized.

Perhaps I should have open a enhancement UI bug....

Kind regards

-- 
Olivier Hallot
Comunidade LibreOffice
http://ask.libreoffice.org/pt-br

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.