Please help me!
I'm using the B4XColorTemplate, and I need it bigger!
It's by default showing at around 50%x and 25%y (roughly), and I need it to be 85%y and 90%x
I've tried:
And whilst the dialog itself shows the correct size, the colour 'image' inside that you chose the colour from is still normal/default size.
How can I resize that to match the dialog window!
I'm using the B4XColorTemplate, and I need it bigger!
It's by default showing at around 50%x and 25%y (roughly), and I need it to be 85%y and 90%x
I've tried:
B4X:
Dim s As B4XColorTemplate
s.Initialize
s.mBase.Height = 85%y
s.mBase.Width = 90%x
Dim hsvcol As ARGBColor
hsvcol.Initialize
Dim inten As Float
tempbc.Initialize(0,0)
dialog.Title = "Choose colour"
dialog.Initialize(Activity)
wait for (dialog.ShowTemplate(s, "Ok", "", "Cancel")) complete (r As Int)
.....etc etc
And whilst the dialog itself shows the correct size, the colour 'image' inside that you chose the colour from is still normal/default size.
How can I resize that to match the dialog window!