Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Resizing three panels main screen
Last Post 07/28/2009 4:06 PM by Peter Donker. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
4Tech
New Member
New Member
Posts:4


--
06/15/2009 4:38 AM

Hi

On the main screen of DMX, you've got the tree view with the folders and categories as the left panel, you've got the folder list as the top right panel, and then the item/file details as the bottom right panel. 

How can I resize the default of the size of these panels, e.g. I want to space the treeview panel wider and decrease the size of the details panel. 

 

4Tech
New Member
New Member
Posts:4


--
06/16/2009 11:00 PM
Anyone...?

I'm basically looking for the place in the code where the sizes of these panels/frames gets set, so that I can modify it.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/18/2009 9:37 PM

This is a piece from the code of ViewCollection.ascx where this all happens:

 

   Dim UIconfigString As String = GetString("SplitterInitialSizes.Text", Me.LocalResourceFile)

   ' default start values: 192|589|439|350|439|234|

   ' tree width, tree height, grid width, grid height, details width, details height

   ' componentArt goes screwy though and adjusts the actual values.

 

As you can see it has been a struggle to get it to behave. There is a set of initial values in the resource file under SplitterInitialSizes.Text (ViewCollection.ascx.resx). Try adjusting values here, first. Note also that there are some properties set in the ascx file itself like:

 

    ComponentArt:SplitterPane PaneContentId="TreeViewContent" MinWidth="100" Width="30%" CssClass="SplitterPane"

 

Here you can see the 30% width parameter.

 

I think you might have luck playing with these values to adjust it to what you want. If all fails then access to the partial source version would allow you to go in and programmatically change things.

 

alex
New Member
New Member
Posts:2


--
07/20/2009 11:34 PM
How do we get to the file ViewCollection.ascx to change these values?
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
07/28/2009 4:06 PM
It can be found under DesktopModules/Bring2mind/DMX

Peter
You are not authorized to post a reply.