- Wed Apr 21, 2021 8:49 am
in AC24 all UI sizes were inflated a bit, and since then the UI width for GDL is 480 in the settings dialog.
With UI_DIALOG a larger UI size can be defined, but the dialog will resize to 480x266. The 296 height was a mistake, 30 pixels is needed for the hierarchical page controls. Without hierarchical pages there is a 15 px top & bottom margin, but it's not recommended to draw there.
The UI_LISTFIELD control has a feature that it can grow automatically with the dialog size if it's right side is beyond 444. This limit hasn't changed, so it is not possible to create a listfield with its right side between 444-480.
The MVO dialog is a bit different, there any UI height can be defined, but the width can be maximum 680.
Software Engineer, Library as a Platform
GRAPHISOFT SE, Budapest