title: Blackberry - Setting LabelField background color
body: <p>I want to place several LabelFields with right-aligned text on a MainScreen with an alice blue background.  Unfortunately I can't seem to figure out how to make that happen.</p>
  
  <p>The best I can do is set my backround to Color.ALICEBLUE on a MainScreen and place LabelFields on the screen (also with a alice blue background). </p>
  
  <pre><code>    public void paint(Graphics graphics) {
          graphics.setBackgroundColor(Color.ALICEBLUE);
          graphics.clear();
          super.paint(graphics);  
      }
  </code></pre>
  
  <p>and... </p>
  
  <pre><code>    LabelField display = new LabelField("", LabelField.FIELD_RIGHT){
          public void paint(Graphics graphics) {
              graphics.setColor(Color.DIMGRAY);
              graphics.setBackgroundColor(Color.ALICEBLUE);
              graphics.clear();
              super.paint(graphics);  
          }
      };
  </code></pre>
  
  <p>Overriding the MainScreen paint routine gives me my alice blue background, but overriding the LabelFields' paint routines does not seem to be adequate.  The result is a white row, with a alice blue background behind the label text only.  Adding <code>USE_ALL_WIDTH</code> corrects the background issue, but I can't right align with <code>USE_ALL_WIDTH</code>.</p>
  
  <p>Does anyone know a work around for this?</p>