haiku/headers/os
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
..
add-ons Refactor touchpad movement generation by migrating MovementMaker to userland. 2022-07-18 16:00:29 +00:00
app
arch
be_apps
bluetooth
device
drivers Drivers.h: Rename device_{read|write}_pages back to device_{read|write}v_hook. 2023-02-13 23:05:16 -05:00
game
interface BMenuField: allow to use non-fixed size in combination with layout mode 2023-02-21 10:47:46 +00:00
kernel
locale
mail
media
midi
midi2
net Network: Add a BNetworkDevice::GetNetworks() method and use it in the GUI. 2022-10-25 23:34:42 -04:00
package
storage
support Merge remote-tracking branch 'origin/master' into dev/netservices 2022-09-04 07:30:59 +01:00
translation
AppKit.h
Be.h
BeBuild.h Versioning: Add BETA_4 and PRE_BETA_5 version constants. 2022-11-03 20:30:10 -04:00
DeviceKit.h
GameKit.h
InterfaceKit.h
KernelKit.h
LocaleKit.h
MailKit.h
MediaKit.h
MidiKit.h
NetKit.h
NetworkKit.h
StorageKit.h
SupportKit.h
TranslationKit.h