MultiLineEditbox and scrollbar(s)
Posted: Wed Apr 21, 2010 15:27
Hi,
I'm trying to use a MultiLineEditBox to display some read-only text. Now the problem I have is the following
in other words, once the text is long enough to make the vertical scrollbar appear, it takes away some place from the width of the widget and the horizontal scrollbar appears . Now, that obviously is not the kind of behaviour I'd expect. The widget's xml is:
I've been able to workaround this by forcing the vertical scrollbar to be displayed, but wonder if there's a solution that wouldn't force me to do this. Thanks!
I'm trying to use a MultiLineEditBox to display some read-only text. Now the problem I have is the following
in other words, once the text is long enough to make the vertical scrollbar appear, it takes away some place from the width of the widget and the horizontal scrollbar appears . Now, that obviously is not the kind of behaviour I'd expect. The widget's xml is:
Code: Select all
<Window Type="TaharezLook/MultiLineEditbox" Name="SquadronInfo/PilotInfo" >
<Property Name="VertFormatting" Value="TopAligned" />
<Property Name="HorzFormatting" Value="WordWrapJustified" />
<Property Name="ReadOnly" Value="true" />
<Property Name="UnifiedAreaRect" Value="{{0.330664,0},{0.471615,0},{0.978125,0},{0.665626,0}}" />
</Window>
I've been able to workaround this by forcing the vertical scrollbar to be displayed, but wonder if there's a solution that wouldn't force me to do this. Thanks!