-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DIALOG add images #84
Comments
This should be doable. Can you provide an example mockup of what you are looking for so that I can make sure whatever I implement can fit your needs? |
I have a working implementation. The dialog config and result are shown below. [window]
width=300
height=450
title=Test Dialog
[float_input_1]
label=Hello World
x=10
y=120
default=16.12
variable="$float1"
[int_input_2]
label=Hello World
x=110
y=120
default=16
variable="$int2"
[bool_input_1]
label=Boolean input 1
x=10
y=10
default=false
variable=$bool1
[bool_input_2]
label=Boolean input 2
x=110
y=10
default=true
variable=$bool2
[picture_1]
label=Cat
path=C:\Users\cfang\Desktop\2569566.jpg
x=50
y=170
width=200
height=200 It's currently not possible to separately add a text box with instructions, but I think it's reasonable to just embed any necessary instructions into the image. Currently I'm only supporting up to 2 images in one dialog. Is that enough or should I add more? In any case, I'll push out a new release this week with this feature added. |
Yes this looks great. 2 images in one dialog is perfect. Thank you! |
Ok. Go ahead and try out the latest release which includes this feature. Please feel free to re-open the issue if it's not working for you. |
Could we potentially add functionality to the DIALOG command so that we can show an image in the popup box? I am using some of the DIALOG boxes to instruct the user of the code to perform a certain action and being able to include an image as part of the instructions would be very helpful.
The text was updated successfully, but these errors were encountered: