Fixed: CPButtonBar with actionPopupButton was outside the visible rect. Fixes #2770 (#2771)

This commit is contained in:
Didier Korthoudt authored and Martin Carlberg committed 2018-08-31 09:10:44 +02:00
1 parent 96793b39ba
commit dd68b37a2a
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@
[button addItemWithTitle:nil];
[[button lastItem] setImage:image];
[button setImagePosition:CPImageOnly];
[button setValue:CGInsetMake(0, 0, 0, 0) forThemeAttribute:"content-inset"];
[button setValue:CGInsetMake(0, 0, 0, 0) forThemeAttribute:"content-inset" inState:CPPopUpButtonStatePullsDown];
[button setPullsDown:YES];