A gap in IUP dropdown lists

2019-03-06 20:26发布

Dropdown lists in IUP for Windows contain a superfluous gap after the last element if the number of elements is sufficient to warrant a scrollbar (which is five or more).

Is this something I can change?

Example

dropdown = DIALOG[TITLE=dropdown.led](
  HBOX[CMARGIN=10x10,CGAP=10](
    LIST[VALUE=3, 1=я, 2=ты, 3=оно, 4=мы, 5=вы, 6=они, DROPDOWN=YES](do_nothing),
    LIST[VALUE=3, 1=ik, 2=je, 3=hij, 4=we, DROPDOWN=YES](do_nothing)
  )
)

Two animated dropdown lists in a dialog with ill-encoded Russian and well-encoded Dutch pronouns and a superfluous gap at the end of the Russian list

All questions that pertain to this particular example:

  1. How do I get access to GUI elements in a IUP dialog loaded from a LED file?
  2. How can I make Russian letters visible in a IUP dialog loaded from a LED file?
  3. A gap in IUP dropdown lists (current)

标签: iup
1条回答
地球回转人心会变
2楼-- · 2019-03-06 20:42

This behavior is dependent on the VISIBLEITEMS attribute which default is 5.

查看更多
登录 后发表回答