hookshy Well-Known Member Licensed User Longtime User Sep 26, 2014 #1 How do you set the properties of a background image ? fil fit center tile stretch I fill a tabpage backgound image with the code below but my image is displayed as tile ... I must set the property other than tile B4X: Dim page As TabPage page=station.Tabs.get(station.SelectedIndex) page.Content.Style="-fx-background-image: url('" & File.GetUri(File.DirApp, station.SelectedIndex&".png") & "');"
How do you set the properties of a background image ? fil fit center tile stretch I fill a tabpage backgound image with the code below but my image is displayed as tile ... I must set the property other than tile B4X: Dim page As TabPage page=station.Tabs.get(station.SelectedIndex) page.Content.Style="-fx-background-image: url('" & File.GetUri(File.DirApp, station.SelectedIndex&".png") & "');"
Erel B4X founder Staff member Licensed User Longtime User Sep 28, 2014 #2 Add: -fx-background-repeat: stretch; Upvote 0