title: Button with image for SwiftUI 2
body: <p>I want to add button with image inside of the view like twitter button with image for SwiftUI 2, but it is not padding to any directions.</p>
  <p><a href="https://i.stack.imgur.com/1vuVU.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1vuVU.jpg" alt="enter image description here" /></a></p>
  <pre><code>struct WeatherView: View {
  var body: some View {
      
      VStack(alignment: .leading, spacing:0){
          
          Button(action: {}) {
                          Image(&quot;cloud&quot;)
                              .padding()
                              .background(Color.blue)
                              .foregroundColor(Color.white)
                              .clipShape(Circle())
                              .shadow(radius: 8)
                      }
      
      HStack(spacing: 5){
          
          Text(&quot;Rainy&quot;)
              .font(.largeTitle)
              .fontWeight(.medium)
          
          Spacer()
          
          Button(action: {
              
          }) {
              
              Image(&quot;menu&quot;).resizable().frame(width: 24, height: 24)
          }
          
      }
      .foregroundColor(Color(&quot;black&quot;))
      .padding()
      Spacer()
     
  }
  
  }
  }
  </code></pre>
  <p>Is there any solution for this problem.</p>