Archicad C++ API
About Archicad add-on development using the C++ API.

UI_LISTFIELD width and height ineffective

Bruce
Advisor

The width and height of the UI_LISTFIELD don't seem to work.  Width with work up to 99 pixels, but then just jumps to full width.  Height doesn't make any difference at all.

 

This results in an 'out of tab page bounds' error, and also means you can't place other controls.

 

AC24.  Haven't tested in AC25.

 

This is only in the preview window while scripting.  Seems to work once you place the object.  Makes it a bit hard to test.

Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
1 REPLY 1

AC 25 seems to have it too... it was not in 23, however this error (out of bounds) is ignored - so So You can do any size of UI - horizontally it may be acceptable (IMHO) - and would look like the Rendering settings which has to be resized to get the proper access to controls, but vertically even if the ui page is bigger it snaps to defaults - of course it is possible but it would be usable little harder for normal users.

Piotr

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!