Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-picker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
react-native-picker
Commits
6cd818fa
Commit
6cd818fa
authored
Jan 08, 2018
by
Erik Magnusson
Committed by
zooble
Jan 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expanded click area of cancel/pick buttons (#259)
parent
ff743974
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ios/RCTBEEPickerManager/BzwPicker.m
ios/RCTBEEPickerManager/BzwPicker.m
+4
-2
No files found.
ios/RCTBEEPickerManager/BzwPicker.m
View file @
6cd818fa
...
...
@@ -48,7 +48,8 @@
[
self
addSubview
:
view
];
self
.
leftBtn
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
self
.
leftBtn
.
frame
=
CGRectMake
(
10
,
5
,
90
,
30
);
self
.
leftBtn
.
frame
=
CGRectMake
(
0
,
0
,
90
,
40
);
[
self
.
leftBtn
setTitleEdgeInsets
:
UIEdgeInsetsMake
(
0
,
10
.
0
,
0
,
0
)];
[
self
.
leftBtn
setTitle
:
self
.
leftStr
forState
:
UIControlStateNormal
];
[
self
.
leftBtn
setFont
:[
UIFont
systemFontOfSize
:[
_pickerToolBarFontSize
integerValue
]]];
self
.
leftBtn
.
contentHorizontalAlignment
=
UIControlContentHorizontalAlignmentLeft
;
...
...
@@ -61,7 +62,8 @@
view
.
backgroundColor
=
[
self
colorWith
:
topbgColor
];
self
.
rightBtn
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
self
.
rightBtn
.
frame
=
CGRectMake
(
view
.
frame
.
size
.
width
-
100
,
5
,
90
,
30
);
self
.
rightBtn
.
frame
=
CGRectMake
(
view
.
frame
.
size
.
width
-
90
,
0
,
90
,
40
);
[
self
.
rightBtn
setTitleEdgeInsets
:
UIEdgeInsetsMake
(
0
,
0
,
0
,
10
.
0
)];
[
self
.
rightBtn
setTitle
:
self
.
rightStr
forState
:
UIControlStateNormal
];
self
.
rightBtn
.
contentHorizontalAlignment
=
UIControlContentHorizontalAlignmentRight
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment