Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25276] Windows: Button image property should be placed to left of the title

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Do
Resolution Date2017-10-25T05:34:25.000+0000
Affected Version/sRelease 6.0.4, Release 6.1.2, Release 7.0.0, Release 6.2.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterEwan Harris
AssigneeKota Iguchi
Created2017-09-13T15:31:03.000+0000
Updated2018-08-06T17:38:16.000+0000

Description

Description

Image property of button is currently identical to backgroundImage, according to docs it should display an image to the left of the button title. Android doesn't demonstrate this behaviour either, need to check iOS
var _window = Ti.UI.createWindow({ backgroundColor: 'green' });
var button = Titanium.UI.createButton({
    top: 60,
    title: 'Hello',
    width: '180',
    height: '80',
    //backgroundImage : 'Logo.png',
    image: 'Logo.png',
});
_window.add(button);
_window.open()

Steps to reproduce

Add the above to an existing app.js and build for Windows

Actual

image property takes all up all of button

Expected

image property should only be placed to left of button

Comments

  1. Kota Iguchi 2017-10-11

    Tested on iOS, but it doesn't display any image on the button neither. I suspect it is a documentation issue?
  2. Kota Iguchi 2017-10-25

    Closing this, this does not work even on iOS. I suspect it is a documentation issue?
  3. Eric Merriman 2018-08-06

    Closing as "won't do". If this is in error, please reopen.

JSON Source