Home » U++ Library support » U++ Widgets - General questions or Mixed problems » [BUG] TheIDE doesn't restore window state correctly on Linux
Re: [BUG] TheIDE doesn't restore window state correctly on Linux [message #32923 is a reply to message #30639] |
Tue, 21 June 2011 05:09   |
|
Strange. Function void TopWindow::SyncState0() (file TopWinX11.cpp, line 124) need to have opened window.
Because Maximize don't work until window realy not opened.
I use this code to work Maximize function:
void MainWindow::Setup(){
if(splitter<1000 || splitter>9000) sp.SetPos(7700); else sp.SetPos(splitter);
Open();
Ctrl::ProcessEvents();
LoadLocalSettings(); //Load settings from .cfg-file
if (maximized) Maximize();
}
But in this case, filling of window content exposed to user.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
[Updated on: Tue, 21 June 2011 05:18] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Jun 05 02:19:12 CEST 2025
Total time taken to generate the page: 0.19899 seconds
|