<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anton0825</author_name>
  <author_url>https://blog.hatena.ne.jp/anton0825/</author_url>
  <blog_title>日々精進</blog_title>
  <blog_url>https://anton0825.hatenablog.com/</blog_url>
  <categories>
    <anon>iOS</anon>
  </categories>
  <description>ボタンのラベルの位置や大きさを調整するのにはsetTitleEdgeInsetsを使う。 setTitleEdgeInsetsはラベルのFrameを変更するメソッドっぽい。例えば、ラベルをちょっと下げて右側を広げるには以下のようにする。広げるにはマイナスの値を入れることに注意。 [backButton setTitleEdgeInsets:UIEdgeInsetsMake(8.0, 0.0, 0.0, -10.0)]; 参考：UIButton内テキスト位置を微調整する - 自堕落なぺぇじ</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F20121129%2F1354675014&quot; title=&quot;setTitleEdgeInsetsでボタンのラベルを広げる - 日々精進&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-11-29 11:36:54</published>
  <title>setTitleEdgeInsetsでボタンのラベルを広げる</title>
  <type>rich</type>
  <url>https://anton0825.hatenablog.com/entry/20121129/1354675014</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
