<br><br><div class="gmail_quote">2013/7/2 Krisztian Pinter <span dir="ltr"><<a href="mailto:pin.terminator@gmail.com" target="_blank">pin.terminator@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi all!</span></div></blockquote><div>Hi,<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><br><div style="font-family:arial,sans-serif;font-size:13px">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.</div>


<div style="font-family:arial,sans-serif;font-size:13px">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.</div>


<div style="font-family:arial,sans-serif;font-size:13px"><br></div></div></blockquote><div> <br>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:<br>

<br><a href="http://opengrok.libreoffice.org/xref/core/cui/source/options/treeopt.cxx#1116">http://opengrok.libreoffice.org/xref/core/cui/source/options/treeopt.cxx#1116</a><br><br>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.<br>

<br><a href="http://opengrok.libreoffice.org/xref/core/vcl/source/window/layout.cxx#2031">http://opengrok.libreoffice.org/xref/core/vcl/source/window/layout.cxx#2031</a><br></div></div><br>I think this might be also related to your problem. <br>

<br>Best,<br clear="all"><br>-- <br>Efe Gürkan YALAMAN<br><a href="http://about.me/efegurkan" target="_blank">http://about.me/efegurkan</a><br>