Kirix Support Forums
wxAUI_MGR_NO_DOCK_SIZE_LIMIT
3 posts
• Page 1 of 1
wxAUI_MGR_NO_DOCK_SIZE_LIMIT
When wxAUI_MGR_NO_DOCK_SIZE_LIMIT flag will be public?
- HzD_Byte
- Registered User
- Posts: 15
- Joined: Sun Feb 12, 2006 1:03 am
Hi,
I guess I didn't know that people wanted it. It's no problem for me to make it public.
The reason I made it private in the first place is that I want a more permanent API for this. One of the problems we had with FL is that sometimes the window size gets out of control (large), and then you redock the window, and 80% of your application is a docked window, and the remaining amount is your center pane. Not good.
So we had initially hard coded a fixed limitation of 30% of the window for a newly created dock. The user was then, of course, allowed to make it bigger. It turns out this limitation started to annoy with wxAuiNotebook.
The API I'd like to create would look something like this. SetMaxNewDockSize(0.3, 0.3). The parameters would specify a max percentage of the window for newly created docks. I just couldn't come to terms whether it was better to make a max # of pixels or a percentage, or both.
That's why it is the way it is now. Maybe you can tell me what you'd prefer.
Thanks,
Ben
I guess I didn't know that people wanted it. It's no problem for me to make it public.
The reason I made it private in the first place is that I want a more permanent API for this. One of the problems we had with FL is that sometimes the window size gets out of control (large), and then you redock the window, and 80% of your application is a docked window, and the remaining amount is your center pane. Not good.
So we had initially hard coded a fixed limitation of 30% of the window for a newly created dock. The user was then, of course, allowed to make it bigger. It turns out this limitation started to annoy with wxAuiNotebook.
The API I'd like to create would look something like this. SetMaxNewDockSize(0.3, 0.3). The parameters would specify a max percentage of the window for newly created docks. I just couldn't come to terms whether it was better to make a max # of pixels or a percentage, or both.
That's why it is the way it is now. Maybe you can tell me what you'd prefer.
Thanks,
Ben
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
- HzD_Byte
- Registered User
- Posts: 15
- Joined: Sun Feb 12, 2006 1:03 am
3 posts
· Page 1 of 1
Return to wxAUI Questions, Thoughts & Feedback