mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
Lowering minimum size for Editor text area.
This should make it possible to shrink the overall IDE window without losing the scroll bars on the text pane. http://code.google.com/p/arduino/issues/detail?id=52
This commit is contained in:
parent
04c9bb2f4d
commit
f1f2f8e49c
@ -515,7 +515,10 @@ implements TabExpander, Printable
|
||||
*/
|
||||
public Dimension getMinimumSize()
|
||||
{
|
||||
return getPreferredSize();
|
||||
Dimension dim = new Dimension();
|
||||
dim.width = fm.charWidth('w') * 10;
|
||||
dim.height = fm.getHeight() * 4;
|
||||
return dim;
|
||||
}
|
||||
|
||||
// package-private members
|
||||
|
Loading…
x
Reference in New Issue
Block a user