Can I make a BoxPane (for example standing) where the boxPane fills an avaible location from within the components?
For example, I would like ScrollPan to take all the accessible space which is left after the label. Bxml:
& lt; Boxpane orientation = "vertical" style = "{fill: true}" & gt; & Lt; Label text = "trigger:" /> & Lt; Scrollpane preferredWidth = "80" preferredHeight = "110" horizontalScrollBarPolicy = "filling" verticalScrollBarPolicy = "fill_to_capacity" & gt; & Lt; ListView bxml: id = "listTriggers" selectMode = "single" listData = "['TRNIF_Trigger1'], ['TRNIF_Trigger2'], ['TRNIF_Trigger3']" /> & Lt; / Scrollpane & gt; & Lt; / BoxPane & gt; It seems that BoxPan is designed to take only the minimum required space in Pivot.
You have to use the Tablepane It looks a bit unfortunate for me because your uppercase letters When using BXML, the arm of the arm increases, which should be favorable to the available space. For example, in WinForms, I can stick to my right border with a component "5px distance and if it needs to be done, resize it".
However, the above question / example is BXML:
& lt; Tablepane styles = "{padding: 8, horizontal position: 6, vertical position: 6}" & gt; & Lt; Columns & gt; & Lt; Tablepan Column width = "1 *" /> & Lt; / Column & gt; & Lt; Tablepan Row height = "- 1" & gt; & Lt; Label text = "trigger:" /> & Lt; /TablePane.Row> & Lt; Tablepan Row height = "1 *" & gt; & Lt; ScrollPane Horizontal ScrollBarPolicy = "Fill" Vertical ScrollBarPolicy = "fill_to_capacity" & gt; & Lt; ListView bxml: id = "listTriggers" selectMode = "single" listData = "['TRNIF_Trigger1'], ['TRNIF_Trigger2'], ['TRNIF_Trigger3']" /> & Lt; / Scrollpane & gt; & Lt; /TablePane.Row> & Lt; / TablePane & gt;
Comments
Post a Comment