Skip to content

Commit f0fcdaf

Browse files
committed
Auto size popup button.
1 parent e11b87d commit f0fcdaf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

osx/src/main/java/ch/cyberduck/ui/cocoa/toolbar/TransferToolbarFactory.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ public NSToolbarItem create(final String identifier) {
270270
button.setTarget(controller.id());
271271
button.setAction(bandwidth.action());
272272
item.setView(button);
273-
item.setMaxSize(new NSSize(button.frame().size.width.doubleValue(), button.frame().size.height.doubleValue()));
274273
return item;
275274
}
276275
case connections: {
@@ -308,7 +307,6 @@ public NSToolbarItem create(final String identifier) {
308307
button.setAction(connections.action());
309308
button.selectItemAtIndex(button.indexOfItemWithRepresentedObject(String.valueOf(preferences.getInteger("queue.connections.limit"))));
310309
item.setView(button);
311-
item.setMaxSize(new NSSize(button.frame().size.width.doubleValue(), button.frame().size.height.doubleValue()));
312310
return item;
313311
}
314312
default: {

0 commit comments

Comments
 (0)