kayler-renslow / arma-dialog-creator

A dialog/GUI creation tool for Arma 3.
MIT License
76 stars 12 forks source link

Add more Control Types #28

Open blackfisch opened 6 years ago

blackfisch commented 6 years ago

Version and Build

1.0.5

Summary

Add more Control Types

Detail

It would be nice, if you could add more Control types, since many of them are missing. A full list of available types can be found in the Bohemia Community Wiki: https://community.bistudio.com/wiki/Dialog_Control#CONTROL_TYPES That would make your tool a real good alternative for anything relatable to me ^^ Great work

mikrobuzzz commented 6 years ago

I very often use grouping of elements in groups, but the desired type is missing (15)

StickieBE commented 4 years ago

Same here; checkbox for example would also make a good addition.

OfficialStamper commented 4 years ago

Please please please

ControlsGroup - CT_CONTROLS_GROUP Type=15

https://community.bistudio.com/wiki/DialogControls-ControlsGroup

If you are already considering this, please delete this post.

Great work BTW, how would we design dialogs without you :)

StickieBE commented 4 years ago

Please please please

ControlsGroup - CT_CONTROLS_GROUP Type=15

https://community.bistudio.com/wiki/DialogControls-ControlsGroup

If you are already considering this, please delete this post.

Great work BTW, how would we design dialogs without you :)

While waiting for them, what I do is open the project .xml and manually change it. It's not perfect, but works ;)

OfficialStamper commented 4 years ago

@StickieBE

While waiting for them, what I do is open the project .xml and manually change it. It's not perfect, but works ;)

Not sure how I can get controls to exist and display within a group. I have tried importing an existing dialog from description.ext where I have controls within an RscControlsGroup Controls Class and they get lost. I would be grateful if you could share if and how you have achieved this.

Sparker95 commented 4 years ago

@OfficialStamper Probably controls inside the group control get lost because positioning inside a group control is relative to group control's origin (top left), not relative to display's origin (0, 0).

OfficialStamper commented 4 years ago

@Sparker95 Its not the fact they are invisible, or off the screen. The child controls of the Group do not appear in the list of controls for the project. Completely gone as if deleted!

kayler-renslow commented 4 years ago

Control Groups are not supported, however, there is a bit of code in ADC that should allow for Control Groups to at least have children controls in ADC. This partial implementation is to prevent loss of data when you import from configs. I'll take a look into this.