On Mon, Aug 4, 2008 at 11:08 AM, johnf <[EMAIL PROTECTED]> wrote: > On Saturday 02 August 2008 07:42:59 am johnf wrote: >> When running the same code on windows and Linux I have a difference in the >> layout. If take a look at the links you will notice that there is a large >> space between the toolbar and the menu section. I can't find any code that >> causes this spacing to occur. Does anyone have an idea? >> >> http://i36.photobucket.com/albums/e30/jfabiani/agent11.jpg >> >> http://i36.photobucket.com/albums/e30/jfabiani/agent10.png > > Fixed - turned out to be one line of code. > > self.ShowToolBar = True > > If I comment it out all works as expected. But I don't know why it effected > anything.
I know exactly why... It is because your "toolbar" is not really a toolbar. It is just a standard panel that is appended to the top of the page. By setting ShowToolBar to True, you were telling the form to show the object found the in form's ToolBar property on the screen. Since there was no toolbar, it is just showing a blank space. Nate L. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
