2013/7/2 Krisztian Pinter <pin.termina...@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
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice