Re: MAP keyword [message #56633] |
Thu, 08 November 2007 16:06  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
natha writes:
> Ok, I'm sorry for explanations..
>
> My interface is a normal interface with MBAR, buttons, TABS..
> It is really similar to Firefox...
>
> The only difference is that depending on the tab selected the buttons
> in the main menu change. I've got 2 different tabs and I want that
> when the user selects type 1 tab, the widget_base_1 with his
> corresponding buttons will be unmmaping and widget_base 2 with the
> other buttons set MAP=1..
> Thats all !
>
> The problem is that the widget_base_1 (containing the buttons for tabs
> type 1) is resized when I add a new tab. When I close a tab the
> resizing is more accentuated.
OK, I think I have a better idea of what you are doing
now. But I don't think I have much constructive to
offer. Clearly you are dealing here with what we call
the "natural width" of a base widget. Most of the time
when I'm confronted with this problem I add more base
widgets (with XPAD and YPAD set to 0) as organizers.
It is an iterative process, usually. After much to-ing
and fro-ing, I can usually get something that is close
to what I want.
In your case, much as I dislike saying it, you might
have to explicitly size some of your base widgets to
prevent them from jumping around on you.
Without seeing the actual code (which, under no
circumstance, do I want to do!) I can't offer anything
more helpful. Sorry.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|