haiku/headers
PulkoMandy 5f88744263 BMenuField: allow to use non-fixed size in combination with layout mode
In fixed size mode, the menu field always uses all the available width.
In non-fixed size mode, the menu field will resize itself to be as small
as possible.

With layout, usually the difference isn't noticeable, since the layout
will already try to resize the control to the smallest possible size.
But there are a few cases where it makes a difference, when the layout
is over-constrained and the menu field can't be made as small as
possible. In that case, the menu field would be forced to fill its
allocated space, where we can instead make it a little smaller.

Change-Id: I911d497218a09aab3824865968558df5d4b3cf98
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6076
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: John Scipione <jscipione@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2023-02-21 10:47:46 +00:00
..
build libroot_build & fs_shell: Provide _kern_ functions for readv/writev... 2023-02-14 00:49:52 -05:00
compatibility termios: Added cfsetspeed function. 2023-02-17 16:16:39 +00:00
config riscv: cleanup architecture macro checks 2021-09-01 18:04:59 +00:00
cpp
glibc
libs Removed 'register' storage class compiler warnings 2022-09-12 14:03:28 +00:00
os BMenuField: allow to use non-fixed size in combination with layout mode 2023-02-21 10:47:46 +00:00
posix Added missing posixoptions and sysconf constants according POSIX.1-2017 standard 2022-12-23 01:57:05 +00:00
private WeakReferenceable: Clear fUseCount when it is 1. 2023-01-31 22:36:59 -05:00
tools cppunit: Enable CPPUNIT_HAVE_SSTREAM for the non-legacy GCC. 2022-03-29 19:09:38 -04:00