title: R Shiny tie textarea width to wellPanel width
body: <p>I am learning how to use the shiny package in R to create an app using the ui.R and server.R files below:</p>
  
  <pre><code># ui.R
  library(shiny)
  #
  shinyUI(
      fluidPage(
          fluidRow(
              column(width = 6, 
                  wellPanel(
                      h5("Your input ="),
                      tags$textarea(id = "myText", rows = 22, cols = 60, "")
                  )
              ),
              column(width = 6, offset = 0,
                  wellPanel(
                      h5("Our output ="),
                      verbatimTextOutput("myText")
                  )
              )
          )
      )
  )
  </code></pre>
  
  <p>and</p>
  
  <pre><code># server.R
  library(shiny)
  #
  shinyServer(
      function(input, output) {
          output$myText &lt;- renderText({input$myText})
      }
  )
  </code></pre>
  
  <p>What I would like to know is how I can make the textarea width vary when the window size changes, yet remain within its wellpanel? At present, the textarea width does not appear to change as the wellPanel get smaller or larger as the window size is changed. So the textarea can break out of its wellPanel, and get covered by the adjacent wellPanel!</p>
  
  <p>Can the textarea width be tied to the wellPanel width so that it varies as the well panel gets smaller or larger? I am not knowledgeable in CSS or HTML, so would need a lot of help if the solution involves those.</p>
  
  <p>Thanks!</p>
  
  <p>SSB</p>