I realize I am reviving a very old thread of mine, but I have an issue with this very line at the moment.
I am using a BottomBar element to place my buttons, I have 6 buttons in the LeftControls and 1 button in the RightControls. I want to place this vertical line in-between the 3rd and 4th buttons of the LeftControls.
The problem is that the above code is an Element, and I believe LeftControls will only accept Control objects. Moreover, when resizing the window vertically, the vertical line will not move and when resizing the window horizontally, only the bottom of the line will move creating a slope, which is not the goal at all here.
I have tried some properties:
xml code:
<Elements>
<Element xsi:type="LineElement" Id="LnVerticalLine">
<Position Top="280" Left="175" Width="0" Height="15">
<Anchor Horizontal="LeftRightFixed" Vertical="TopBottomFixed" />
</Position>
<Attributes>
<StartCap>Flat</StartCap>
<EndCap>Flat</EndCap>
</Attributes>
<Size>1</Size>
<Color><Red>195</Red><Green>195</Green><Blue>195</Blue></Color>
</Element>
</Elements>
Without success. I would need help with these two problems.
Thank you in advance.
Edit:
I have managed to fix the second slope/vertical issue by using this instead:
xml code:
<Anchor Horizontal="LeftFixed" Vertical="BottomFixed" />
This was my bad. I still require help regarding the BottomBar however. I think the element could be placed independently of the BottomBar, but for it to work I would need to find a way to make more space in-between the 3rd and 4th buttons but the Left attribute doesn't work for controls in the BottomBar
Any point of view on this is welcome. Thanks again.
Well, nevermind all this haha. I thought Margin was an attribute of LeftControls while it actually is a child that you can reuse as much as you want inbetween controls. Exactly what I was looking for.