mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-06 01:08:25 +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()
|
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
|
// package-private members
|
||||||
|
Loading…
x
Reference in New Issue
Block a user