Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346573 - Grid.getBorderWidth() does not return correct value in windows
Summary: Grid.getBorderWidth() does not return correct value in windows
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nebula (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Thomas Schindl CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 21:48 EDT by FDJ CLA
Modified: 2021-07-05 11:40 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FDJ CLA 2011-05-19 21:48:28 EDT
Build Identifier: 20100917-0705

We are trying to find the width of the Border of the Grid (to calculate the maxHeight of the GridTreeViewer that it encapsulates). We noticed that Grid.getBorderWidth() always returns a value which is way bigger than what it should be. But in Linux, we see that it returns the correct value.

Reproducible: Always

Steps to Reproduce:
Code:
Grid grid = gridTreeViewer.getGrid();
grid.getBorderWidth();

The value returned is not consistent from what it should be.
Comment 1 Laurent CARON CLA 2019-09-25 15:32:43 EDT
Tried today, it seems to be a SWT bug.
Working fine now.