1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00
JUCE/modules/juce_gui_basics
attila a6761f9eb8 Grid: Ensure that items with absolute sizes will maintain correctly rounded dimensions
Prior to this commit all Grid calculations were carried out using
floating point numbers. The dimensions of all items would then be
rounded with the same function to calculate the integer dimensions used
for Component layout. This resulted in layout solutions where the width
or height of items with dimensions specified using the absolute Px
quantity could differ from the correctly rounded value of these values.

This commit ensures that the width and height of these items are always
correct and their cumulative error in size is distributed among items
with fractional dimensions.
2023-04-26 11:05:53 +02:00
..
accessibility GUI Basics: Refactor juce_gui_basics file structure 2023-03-16 08:53:12 +00:00
application GUI Basics: Refactor juce_gui_basics file structure 2023-03-16 08:53:12 +00:00
buttons GUI Basics: Refactor juce_gui_basics file structure 2023-03-16 08:53:12 +00:00
commands GUI Basics: Refactor juce_gui_basics file structure 2023-03-16 08:53:12 +00:00
components Widgets: call repaint() in colourChanged() callbacks 2023-03-22 14:59:37 +00:00
desktop Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
detail Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
drawables Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
filebrowser FileTreeComponent: Use incremental updates after refresh to avoid losing UI state 2023-04-19 08:54:50 +02:00
keyboard GUI Basics: Refactor juce_gui_basics file structure 2023-03-16 08:53:12 +00:00
layout Grid: Ensure that items with absolute sizes will maintain correctly rounded dimensions 2023-04-26 11:05:53 +02:00
lookandfeel Slider: LookAndFeel outline style 2023-04-04 10:06:40 +01:00
menus PopupMenu: Avoid dismissing menu in response to mouse events over the menu 2023-04-04 19:55:11 +01:00
misc BubbleComponent: allow customisable effects 2023-03-27 13:47:36 +00:00
mouse GUI Basics: Refactor juce_gui_basics file structure 2023-03-16 08:53:12 +00:00
native Android: Fix accessibility on newer Android versions 2023-04-25 16:28:11 +02:00
positioning
properties Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
widgets Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
windows AlertWindow: Fix result codes when displaying native dialogs through the AlertWindow APIs 2023-04-04 19:55:12 +01:00
juce_gui_basics.cpp AlertWindow: Fix result codes when displaying native dialogs through the AlertWindow APIs 2023-04-04 19:55:12 +01:00
juce_gui_basics.h Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_gui_basics.mm