Bug 49483 - [Dialogs] dialogs and buttons too wide with high display resolution
Summary: [Dialogs] dialogs and buttons too wide with high display resolution
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All Linux-GTK
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Billy Biggs CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-03 10:49 EST by Christoph Meier CLA
Modified: 2020-11-19 00:44 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Meier CLA 2004-01-03 10:49:47 EST
With a (high) resolution of 1600x1200, dialog buttons and windows are 
displayed very wide. Some windows are too large to fit on the screen. 
 
I changed org.eclipse.jface.IDialogConstants (IDialogConstants.java) to work 
around this problem: 
 
232c232 
< 	public int BUTTON_HEIGHT = 16; 
--- 
> 	public int BUTTON_HEIGHT = 14; 
237c237 
< 	public int BUTTON_WIDTH = 31; 
--- 
> 	public int BUTTON_WIDTH = 61; 
257c257 
< 	public int MINIMUM_MESSAGE_AREA_WIDTH = 100; 
--- 
> 	public int MINIMUM_MESSAGE_AREA_WIDTH = 300;
Comment 1 Tod Creasey CLA 2004-04-05 08:16:49 EDT
*** Bug 43788 has been marked as a duplicate of this bug. ***
Comment 2 Billy Biggs CLA 2004-09-21 09:04:58 EDT
Dialog size is based on the font size, and the average character size according
to pango (varies per language).  It should not change based on display
resolution.  Can you please show me a screenshot of how big dialogs are on your
machine?
Comment 3 Billy Biggs CLA 2004-11-15 23:09:15 EST
Please re-open if you have a screenshot that shows the problem.