ThemedGroupBox Header height problem with docked control


Author
Message
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi guys,

When you dock a control like ThemedMenuStrip or any other one in the ThemedGroupBox, the Title region is covered by the docked control.  See attached image.

http://forum.strataframe.net/Uploads/Images/1a1412d3-aba3-4f84-af20-be12.png

To reproduce do the following:
  1. Drop a ThemedGroupBox in a form
  2. Drop a ThemedMenuStrip and dock it to the Top.
  3. Drop any other control.


Edhy Rijo

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Yep, I get the same. In these cases, I usually don't dock them, and position them by hand.


Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Ivan George Borges (11/19/2010)
Yep, I get the same. In these cases, I usually don't dock them, and position them by hand.


Yes, that will work if you only have one ThemedBroupBox showing and dot not allow the form to maximize BigGrin

In my case I use the list views heavily and in some cases I even have 4 ThemedBroupBox, toolbar and listview combinations and do allow the forms to be maximized (not every user have large monitors yet Crying)

Since Trent love to work with all this graphics stuff I am sure it should be something easy to fix Hehe

Edhy Rijo

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Guess I didn't get the issue, then... won't it work if you Anchor them? For example, the ThemeMenuStrip would be set to Dock -> None and Ancho -> Top, Left and Right. The GroupBox itself could also be set to Anchor Top, Bottom, Left, Right. Once the form is maximized, things would follow the sizes, I guess...

But I will pass this on to Trent for him to put it on the list.
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Ivan George Borges (11/19/2010)
Guess I didn't get the issue, then... won't it work if you Anchor them?


Nope, because when you dock the controls the anchor has no effect.  I think it may be a problem with the redraw or something along those lines that did not take into consideration docked controls.

Edhy Rijo

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Yep, and what I meant was to not dock them, only anchor them.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search