[GSOC]Use Widget Layout for the Start Center Weekly Update 02
Efe Gürkan YALAMAN
efeyalaman at gmail.com
Tue Jul 2 08:58:46 PDT 2013
2013/7/2 Krisztian Pinter <pin.terminator at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130702/c4431dc0/attachment.html>
More information about the LibreOffice
mailing list