how does one set height of contributed part (view) [message #495445] |
Wed, 04 November 2009 22:15 |
Dave Combs Messages: 21 Registered: July 2009 |
Junior Member |
|
|
I'm trying a layout where I have a control area (unfortunately can't use a toolbar) that I'm representing with a View. I'd like that control area to butt up against a "main" area below it, where the control area is to be exactly 100 pixels high. I've created my Application.xmi with a
<children policy="VerticalComposite">
<children xsi:type="application:MContributedPart"... (for the view)
</children>
<children policy="HorizontalComposite">
<children xsi:type="application:MSashForm" policy="horizontalSash">
...
</children>
</children>
</children>
The question: this automatically takes over 50% of the height with the contributed view, instead of 100 pixels. The view code internally has stuff saying that the maximum size should be 100 pixels high. I also tried setting 'height' as a CSS property for the view, but that did nothing either.
Does anybody have an idea how I can force the height of this contributed view to be fixed to 100 pixels? I *really* don't want to have to put in a SashForm and provide a weight, since that's a percentage rather than a fixed value and will let the view grow vertically.
Thanks,
Dave
[Updated on: Wed, 04 November 2009 22:16] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03392 seconds