Commit graph

690 commits

Author SHA1 Message Date
hbomb79
2577b0bf0a Added support for 'fluidDimensions'
Setting 'fluidDimensions' to true on any container will make the width and height of the container automatic. The min/maxWidth and min/maxHeight properties can be used to restrict calculated values.
2017-07-25 20:50:56 +12:00
hbomb79
aada932f14 Added local 'min' function to MFluidLayout 2017-07-25 20:49:53 +12:00
hbomb79
6b58f45627 Removed debug function call 2017-07-25 19:53:21 +12:00
hbomb79
e3695c930b Adjusted fluid layout example 2017-07-25 19:38:10 +12:00
hbomb79
203e18200d ScrollContainer resolvesFluidPositioning before caching content 2017-07-25 19:32:08 +12:00
hbomb79
c4b60cf10c Changed bg of app and window 2017-07-25 19:31:28 +12:00
hbomb79
c2fd7cddce Fixed positioning code (and shortened). Lines no longer flicker during resize 2017-07-25 17:15:50 +12:00
hbomb79
ffebacda86 Fixed resolution of positions occuring every draw 2017-07-25 17:15:12 +12:00
hbomb79
a668a5f7e4 Fixed line consumption when line length > maxwidth 2017-07-25 15:31:59 +12:00
Harry Felton
6e0d13f2d3 Support for fluid layouts inside Windows (ported min/max properties) 2017-07-25 11:28:20 +12:00
hbomb79
23a9475b33 Added MFluidLayout and mixed in to MNodeContainer 2017-07-24 23:01:35 +12:00
hbomb79
63877b0c53 Component margin/positioning properties 2017-07-24 23:00:51 +12:00
hbomb79
16c29f3d74 Windows no longer focusable by clicking on shadow 2017-07-24 00:36:39 +12:00
hbomb79
0d672e744a CI testing no longer accounts for dialog 'OverlayContainer' inside collated nodes 2017-07-23 20:51:26 +12:00
hbomb79
09bc2e5c0f Fixed DynamicValues not being refreshed when 'application' is changed 2017-07-23 20:47:56 +12:00
hbomb79
821f6a8535 Dialog boxes are now unavailable via 'app.nodes' 2017-07-23 20:47:36 +12:00
hbomb79
6497b3d0d9 Hotfix for TextContainer width 2017-06-02 18:20:47 +12:00
Harry Felton
f7e24178f8 Pre release adjustments 2017-05-27 10:09:10 +12:00
Harry Felton
51a108a8a5 Removed OverlayContainer test TML 2017-05-27 09:23:01 +12:00
Harry Felton
9eb93e6dbd Added periodic yield to theme dispatch to prevent 'Too long without yielding' exception 2017-05-27 09:18:09 +12:00
Harry Felton
3d3e4c36a2 Fixed Slider width, now requires 'important' in theme to change 2017-05-27 09:03:16 +12:00
Harry Felton
eeda85031c Fixed OverlayContainer allowing override of 'colour' property 2017-05-27 09:02:22 +12:00
Harry Felton
b69a017056 Removed DialogBox examples from example application 2017-05-26 17:26:24 +12:00
Harry Felton
b2fadd2ed1 Classes can now specify a 'tmlContent' argument to be used.
When an instance of the class has been spawned with content inside of a TML file, the content will be assigned to the argument name specified inside 'tmlContent' (for example, the content of a TML element may be assigned to 'text')
2017-05-26 17:25:47 +12:00
Harry Felton
dd07cf27a1 Removed XML restriction on content and children 2017-05-26 17:24:25 +12:00
Harry Felton
52f2d98801 Checkbox acknowledges activation even when toggled 2017-05-26 16:56:10 +12:00
Harry Felton
a1d5249fe3 XML parser no longer crashes on empty file 2017-05-20 22:59:39 +12:00
Harry Felton
dbe6558fb5 Added Window close button width declaration 2017-05-20 22:59:22 +12:00
Harry Felton
90abbedb28 Fixed MPropertyManager:unlinkProperties typo (removed -> remove) 2017-05-20 22:14:02 +12:00
hbomb79
849212fa2f Increased CI test to account for OverlayContainer 2017-05-12 19:02:51 +12:00
Harry Felton
2361dfe808
Fixed updateZ never ending (typo fix) 2017-05-12 13:00:32 +12:00
hbomb79
905ed2156e Implemented DialogBoxes (Resolved #54) 2017-05-11 22:57:06 +12:00
hbomb79
549fc389c5 Added 'cos' local definition 2017-05-11 18:39:07 +12:00
hbomb79
8b55bc4358 ScrollContainer scrollbars adjust when content dimensions change 2017-05-11 17:23:08 +12:00
hbomb79
15d7f9a97a Fixed MouseEvent interacting with out of bounds elements 2017-05-11 16:53:27 +12:00
hbomb79
688f155435 Fixed double removal of nodes 2017-05-11 16:38:32 +12:00
hbomb79
74491e09f6 'and', 'or' and 'not' operators no longer match partway through word 2017-05-09 18:27:42 +12:00
hbomb79
f48378ecb4 Fixed #61 2017-05-09 17:58:47 +12:00
Harry Felton
bef5723c43
Fixed MTextDisplay:wrapText bug when width 0 2017-05-09 15:07:50 +12:00
hbomb79
aee0c0f704 Ambiguous query selector (~) allows typeOf comparison
i.e: Instead of checking if the target is the SAME type, the query will use Titanium.typeOf to determine if the class extends the type
2017-05-08 22:38:18 +12:00
hbomb79
68eccdcb23 Resolved merge conflict 2017-05-07 19:59:58 +12:00
hbomb79
5d374d6722 Adjusted ScrollContainer:handle to fix CCDrop bugs
This function has caused a lot of trouble in the past, especially when dealing with nested ScrollContainers.

Keep an eye on this. If you see any weird behavior when dealing with ScrollContainers this change may be the cause
2017-05-07 19:56:07 +12:00
hbomb79
e18e241fe0 Container 'consumeAll' property registered as boolean 2017-05-07 19:52:28 +12:00
hbomb79
05dee5d1da Container no longer crashes when nodes are removed part way through event ship 2017-05-07 19:52:02 +12:00
hbomb79
eacf9e0893 Registered allowMouse, key and char as boolean properties 2017-05-07 19:51:32 +12:00
Harry Felton
c28aed9417
Fixed #60 2017-05-05 09:39:26 +12:00
hbomb79
14a658a38b
Shifted Titanium check into class snippet 2017-05-05 09:39:25 +12:00
hbomb79
bfd51a8dab
Fixed bug when last line of file was missing if using readLine 2017-05-05 09:39:25 +12:00
hbomb79
3464c1748f
Silenced TPM fetch command 2017-05-05 09:39:25 +12:00
hbomb79
aef4d7d9fc
Packager writes TPM to /.tpm/bin/tpm 2017-05-05 09:39:24 +12:00