2010 September 07 09:27:14
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome to PixInsight Forum
Home
Help
Search
Login
Register
PixInsight Forum
>
Software Development
>
PCL and PJSR Development |
Desarrollo en PCL y PSJR
>
PCL: on startup my dialog is sometimes much too wide
Pages: [
1
]
« previous
next »
Print
Author
Topic: PCL: on startup my dialog is sometimes much too wide (Read 54 times)
Nocturnal
PixInsight Jedi Knight
Posts: 1433
PCL: on startup my dialog is sometimes much too wide
«
on:
2010 July 29 22:08:59 »
Hi,
I've been struggling with an annoying problem with one of my processes.
- use process
- cancel process (it's a dynamic one)
- open process again
- now dialog is very wide, extends way to the right
It seems process location and size is stored somewhere and I'm not doing the right thing to restore it on load. What could be the cause?
Logged
Best,
Sander
---
WO-M110ED+FR-III/TRF-2008
QHY-8
DSI-Pro for guiding
C11 + HyperStar3
PIxInsight, DeepSkyStacker, Fitswork, PHD, Nebulosity, CCDCap
Juan Conejero
PTeam Member
PixInsight Jedi Master
Posts: 1984
Re: PCL: on startup my dialog is sometimes much too wide
«
Reply #1 on:
2010 July 30 00:26:56 »
Hi Sander,
I'd need to take a look at your code to help you. It might be an issue with Sizer. The geometry of a ProcessInterface is always stored in the core settings file unless you call ProcessInterface::DisableAutoSaveGeometry() explicitly from your code.
Logged
Juan Conejero
PixInsight Development Team
http://pixinsight.com/
Nocturnal
PixInsight Jedi Knight
Posts: 1433
Re: PCL: on startup my dialog is sometimes much too wide
«
Reply #2 on:
2010 July 30 01:05:25 »
Hi Juan,
I sent a zip with the sources your way.
Logged
Best,
Sander
---
WO-M110ED+FR-III/TRF-2008
QHY-8
DSI-Pro for guiding
C11 + HyperStar3
PIxInsight, DeepSkyStacker, Fitswork, PHD, Nebulosity, CCDCap
Juan Conejero
PTeam Member
PixInsight Jedi Master
Posts: 1984
Re: PCL: on startup my dialog is sometimes much too wide
«
Reply #3 on:
2010 July 30 01:15:18 »
Thanks Sander. I'll take a look and will post here.
Logged
Juan Conejero
PixInsight Development Team
http://pixinsight.com/
Juan Conejero
PTeam Member
PixInsight Jedi Master
Posts: 1984
Re: PCL: on startup my dialog is sometimes much too wide
«
Reply #4 on:
2010 July 31 13:25:57 »
Hi Sander,
I've already sent your code with the pertinent revisions. The tricky bit that you were missing is a call to AdjustToContents() at the end of your GUIData constructor. Always call this member function after having populated your interface's main sizer.
Excellent and very useful tool you're cooking. Hope to see it published soon
Logged
Juan Conejero
PixInsight Development Team
http://pixinsight.com/
Nocturnal
PixInsight Jedi Knight
Posts: 1433
Re: PCL: on startup my dialog is sometimes much too wide
«
Reply #5 on:
2010 July 31 14:51:13 »
Thanks Juan, got your email
Logged
Best,
Sander
---
WO-M110ED+FR-III/TRF-2008
QHY-8
DSI-Pro for guiding
C11 + HyperStar3
PIxInsight, DeepSkyStacker, Fitswork, PHD, Nebulosity, CCDCap
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements |
Anuncios
=> General Discussion |
Discusión General
=> Tutorials and Processing Examples |
Tutoriales y Ejemplos de Procesamiento
=> Tips & Tricks |
Astucias y Trucos
-----------------------------
PixInsight
-----------------------------
=> PixInsight
=> Release Information |
Información sobre versiones
=> Gallery |
Galería
=> Wish List |
Peticiones
=> Bug Reports |
Informes de Errores
-----------------------------
Software Development
-----------------------------
=> PCL and PJSR Development |
Desarrollo en PCL y PSJR
=> New Scripts and Modules |
Nuevos Scripts y Módulos
Loading...