2013/7/2 Krisztian Pinter <pin.terminator@gmail.com>
Hi all!
Hi,
I got rid of all the manual formatting code, then put it back, then
removed it again, I cleaned the code to the bare bones, and all I managed
to achieve is that the window is now drawn in white instead of light grey.
Kendy suggested that maybe it's because I haven't redefined GetOptimalSize
but adding it didn't seem to help.
I printed the position/size of the gui elements from the loaded .ui file,
and both of them were (0,0) for all of them. I thought this was an error
but I got similar results for other .uis that are drawn correctly.
I am currently dealing with the same problem on my project. I recognized
something today which might be related to this. I am trying to draw a new
SfxTabPage to the options dialog, but there is a blank light grey page
instead of widgets. Here:
http://opengrok.libreoffice.org/xref/core/cui/source/options/treeopt.cxx#1116
Other tab pages which are drawn normally gets in there. But my page doesn't
get in there. Inside of the isLayoutEnabled, isContainerWindow() returns
false.
http://opengrok.libreoffice.org/xref/core/vcl/source/window/layout.cxx#2031
I think this might be also related to your problem.
Best,
--
Efe Gürkan YALAMAN
http://about.me/efegurkan
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.