mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
only one column for notification balloons
This commit is contained in:
@@ -81,6 +81,10 @@ public class BalloonLayout {
|
||||
final Rectangle layoutRec = new Rectangle(new Point(myInsets.left, myInsets.top), size);
|
||||
|
||||
List<ArrayList<Balloon>> columns = createColumns(layoutRec);
|
||||
while (columns.size() > 1) {
|
||||
myBalloons.remove(0);
|
||||
columns = createColumns(layoutRec);
|
||||
}
|
||||
List<Integer> columnWidths = computeWidths(columns);
|
||||
|
||||
int eachCoumnX = (int)layoutRec.getMaxX();
|
||||
|
||||
Reference in New Issue
Block a user