on 07-05-2009 11:56 AM
Hi All
I am facing an issue which i am explaining as below.
In a Window i have placed two views in a T-Layout 180 , left side is one view which is from another used component and right side view i placed from the current component.
now when ever i collapsed the left side view then i am getting the space between the left side view and right side view.
How to remove the space between the two views when we placed two views in a T-Layout 180.
when ever i collapsed the left side view then the left side view will be invisible then one expand button will be visible then again when i click on the expand button then again i am getting the space between the left side and right side view in T-Layout.
Please let me know how to remove the space between two views when we placed the two views in a single T-Layout 180 then it would be great help to me.
Thanks inadvance
Thanks
Trisha rani
Hi Trisha rani
Try to specify property HorizontalSashPosition of your T-Layout as 0 or 0%. This will force your right space to fill in all the screen. When left view displays something it will be shown as usual, but when left view is empty the right view will be shrink to the whole screen.
BR, Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean by collapsing the left view? Are you using a tray?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For collapsing (making invisible) dont use WDVisibility.NONE insted of that use WDVisibility.BLANK
Or
Change the RootUIElementContainer(TransparentContainer) layout to GridLayout and give fixed width and height. Like width: 250 height: 600. Keep the + and - buttons here in the root container.
Now create another TransparentContainer under this RootContainer with width: 245 and height: 550 and place all the remaing UI elements in this transparent container.
Now when user click on "-" make invisible of this second inner Transparent Container using WDVisibility.BLANK.
Regards,
Charan
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.