Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-9455: BlackBerry: Add multiple unit type for width and height prop... #97

Merged

Conversation

dcampbell-macadamian
Copy link

...erties (work in progress)

Reviewers: David L, Harut

Change Log:

  • added support for width/height in mm
  • added support for width/height in cm
  • added support for width/height in inches

Test Cases:

  • build tibb
  • build tibbtest
  • slider should be 100mm wide

https://jira.appcelerator.org/browse/TIMOB-9455

unknown and others added 2 commits July 10, 2012 02:11
…roperties (work in progress)

Reviewers: David L, Harut

Change Log:
- added support for width/height in mm
- added support for width/height in cm
- added support for width/height in inches

Test Cases:
- build tibb
- build tibbtest
- slider should be 100mm wide

https://jira.appcelerator.org/browse/TIMOB-9455
updated API document
fixed formatting
@@ -16,6 +16,17 @@
#include <bb/cascades/Color>
#include <bb/cascades/Container>
#include <qtgui/QColor>
#include <bb/device/DisplayManager>
#include <bb/device/Display>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix order: Container, Display, DisplayManager, qColor (no need for the qtgui part)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@dlifshitz-maca
Copy link

Reviewed.

@Harutyun
Copy link

Reviewed

@dcampbell-macadamian
Copy link
Author

updated

@dlifshitz-maca
Copy link

The widths on the simulator are still not the same as the device, but it's much better.
Approved.

Conflicts:
	blackberry/tibb/NativeControlObject.cpp
dcampbell-macadamian added a commit that referenced this pull request Jul 17, 2012
TIMOB-9455: BlackBerry: Add multiple unit type for width and height prop...
@dcampbell-macadamian dcampbell-macadamian merged commit 11d7493 into Macadamian:blackberry Jul 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants