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/layout
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
..
juce_AnimatedPosition.h Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_AnimatedPositionBehaviours.h Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_ComponentAnimator.cpp Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_ComponentAnimator.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ComponentBoundsConstrainer.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ComponentBoundsConstrainer.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ComponentBuilder.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ComponentBuilder.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ComponentMovementWatcher.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ComponentMovementWatcher.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ConcertinaPanel.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ConcertinaPanel.h Accessibility: Make createAccessibilityHandler public to allow calls from derived classes 2023-02-09 17:54:18 +00:00
juce_FlexBox.cpp Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_FlexBox.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_FlexItem.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_Grid.cpp Grid: Ensure that items with absolute sizes will maintain correctly rounded dimensions 2023-04-26 11:05:53 +02:00
juce_Grid.h Grid: Ensure that items with absolute sizes will maintain correctly rounded dimensions 2023-04-26 11:05:53 +02:00
juce_GridItem.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_GridItem.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_GroupComponent.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_GroupComponent.h Accessibility: Make createAccessibilityHandler public to allow calls from derived classes 2023-02-09 17:54:18 +00:00
juce_MultiDocumentPanel.cpp MultiDocumentPanel: Fix reporting wrong active document, avoid reordering 2022-07-11 15:13:08 +02:00
juce_MultiDocumentPanel.h MultiDocumentPanel: Fix reporting wrong active document, avoid reordering 2022-07-11 15:13:08 +02:00
juce_ResizableBorderComponent.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ResizableBorderComponent.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ResizableCornerComponent.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ResizableCornerComponent.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ResizableEdgeComponent.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ResizableEdgeComponent.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ScrollBar.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_ScrollBar.h Accessibility: Make createAccessibilityHandler public to allow calls from derived classes 2023-02-09 17:54:18 +00:00
juce_SidePanel.cpp SidePanel: Fix shadow drawing artefact on hi-res screens 2022-12-14 18:59:44 +00:00
juce_SidePanel.h Accessibility: Make createAccessibilityHandler public to allow calls from derived classes 2023-02-09 17:54:18 +00:00
juce_StretchableLayoutManager.cpp StretchableLayoutManager: Prevent zero size layouts 2023-04-04 10:06:40 +01:00
juce_StretchableLayoutManager.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_StretchableLayoutResizerBar.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_StretchableLayoutResizerBar.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_StretchableObjectResizer.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_StretchableObjectResizer.h Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_TabbedButtonBar.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_TabbedButtonBar.h Accessibility: Make createAccessibilityHandler public to allow calls from derived classes 2023-02-09 17:54:18 +00:00
juce_TabbedComponent.cpp Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
juce_TabbedComponent.h Accessibility: Make createAccessibilityHandler public to allow calls from derived classes 2023-02-09 17:54:18 +00:00
juce_Viewport.cpp Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_Viewport.h Accessibility: Make createAccessibilityHandler public to allow calls from derived classes 2023-02-09 17:54:18 +00:00