Details

      Description

      Problem

      The same way it is possible to do Vertical Alignment with TextFields, it wold be great to have the property verticalAlign: on Labels as well

      verticalAlign:Ti.UI.TEXT_VERTICAL_ALIGNMENT_TOP
      verticalAlign:Ti.UI.TEXT_VERTICAL_ALIGNMENT_MIDDLE
      verticalAlign:Ti.UI.TEXT_VERTICAL_ALIGNMENT_BOTTOM

      Test case

      var win = Ti.UI.createWindow({
      	backgroundColor: 'black',
      	exitOnClose: true,
      	fullscreen: false,
      	layout: 'vertical',
      	title: 'Label verticalAlign Demo'
      });
       
      var label = Ti.UI.createLabel({
      	backgroundColor: 'white',
      	color: 'black',
      	text: 'this is a test',
      	verticalAlign:Ti.UI.TEXT_VERTICAL_ALIGNMENT_BOTTOM,
      	height: 100
      });
      win.add(label);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                rpfeiffer Ralf Pfeiffer
              • Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration