Pietro Gagliardi
|
f66e2e569e
|
Fixed empty boxes.
|
2015-08-03 12:17:56 -04:00 |
Pietro Gagliardi
|
f7c5c6e60e
|
More ambiguity debugging hooks.
|
2015-08-03 12:16:08 -04:00 |
Pietro Gagliardi
|
c5a013aea1
|
ACTUALLY switched to tBoxContainer in box.m this time.
|
2015-08-03 12:10:47 -04:00 |
Pietro Gagliardi
|
64f36f8e74
|
Added a debug hook for constraints.
|
2015-08-03 12:09:31 -04:00 |
Pietro Gagliardi
|
69cb4694dd
|
Added padding.
|
2015-08-03 11:22:14 -04:00 |
Pietro Gagliardi
|
06257b19a5
|
Added tEntry as a test of the tSpinbox bug. THAT works fine.
|
2015-08-03 11:14:05 -04:00 |
Pietro Gagliardi
|
167ea85f6e
|
Implemented the proper hugging constraints for stretchy controls in tBox.
|
2015-08-03 01:10:27 -04:00 |
Pietro Gagliardi
|
1d2880895d
|
Started saving the hugging priorities.
|
2015-08-03 00:56:14 -04:00 |
Pietro Gagliardi
|
410478e1c8
|
Added an orientation variable to the tBox code for when we start dealing with hugging. This is the proper way to prevent controls from stretching.
|
2015-08-02 23:42:14 -04:00 |
Pietro Gagliardi
|
0adf51118e
|
Readded stretchiness.
|
2015-08-02 23:17:20 -04:00 |
Pietro Gagliardi
|
17a17b0d27
|
Fixed build and runtime errors.
|
2015-08-02 23:05:16 -04:00 |
Pietro Gagliardi
|
2eb48aa129
|
Changed button.m and spinbox.m to use the new model. Let's test this one...
|
2015-08-02 22:41:07 -04:00 |
Pietro Gagliardi
|
bd166e601f
|
Modified box.m to use a single NSView.
|
2015-08-02 22:38:24 -04:00 |
Pietro Gagliardi
|
f275a9a043
|
Converted box.m's auto layout code to the new format. Stretchiness isn't handled yet. Next up is box.m's actual view itself.
|
2015-08-02 22:29:35 -04:00 |
Pietro Gagliardi
|
f1b372569a
|
Tried to do lateral dimension tuning. Didn't work -_- Recursive tBoxes might have to be individual NSViews as well :|
Psy in #macdev said things which confirm that Auto Layout does NOT give me Interface Builder metrics for free. This destroys the whole point...
|
2015-08-02 19:27:55 -04:00 |
Pietro Gagliardi
|
2fe193563e
|
Resolved that TODO.
|
2015-08-02 18:54:33 -04:00 |
Pietro Gagliardi
|
ebae310ff1
|
Fixed crashing. Made relayouts optional in tSetParent. Rewrote the tBox auto layout code a fair bit, thinking crashing was caused by stack overflow (it was not).
|
2015-08-02 18:16:44 -04:00 |
Pietro Gagliardi
|
4a97a3cdb9
|
Wrote the tBox code to deal with starts and ends and attachments. It doesn't quite work yet...
|
2015-08-02 16:55:21 -04:00 |
Pietro Gagliardi
|
3e8aad0068
|
Started converting tBox to the attachcment-based system. I think I'll need to introduce a few more parameters (first/last horz/vert).
|
2015-08-02 14:49:10 -04:00 |
Pietro Gagliardi
|
5bc53f937d
|
More stretchiness work.
|
2015-08-02 12:52:24 -04:00 |
Pietro Gagliardi
|
88f137aa80
|
Laid the foundation for handling stretchiness.
|
2015-08-02 12:35:48 -04:00 |
Pietro Gagliardi
|
fbbe1fdd3b
|
Added vertical boxes.
|
2015-08-02 12:22:24 -04:00 |
Pietro Gagliardi
|
64ed23e933
|
Changed the Auto Layout generation function to use a structure of parameters. This will make adding parameters easier.
|
2015-08-02 11:26:03 -04:00 |
Pietro Gagliardi
|
08c3602130
|
Saved stretchy values in box.m. We'll need to figure out how to incorporate these into the generated files...
|
2015-08-01 22:38:01 -04:00 |
Pietro Gagliardi
|
30a30cb5be
|
Added tRelayout to all controls. Also changed the order of stretchy controls in main.m because Auto Layout's defaults aren't optimal.
|
2015-08-01 22:13:41 -04:00 |
Pietro Gagliardi
|
8868ad3b53
|
Stored parents in the various tControls. This is neccessary for making tRelayout on all controls.
|
2015-08-01 21:41:36 -04:00 |
Pietro Gagliardi
|
a2925e3b0b
|
Implemented more of the tBox auto layout logic. Now we need to get rid of the methods I had before and implement tRelayout on all classes.
|
2015-08-01 18:33:17 -04:00 |
Pietro Gagliardi
|
7bd98bafc9
|
Started reimplementing uiBox. Added a first argument to the main Auto Layout function so uiBox can have subviews.
|
2015-08-01 18:05:50 -04:00 |
Pietro Gagliardi
|
cdbf2d5b5c
|
Moved tBox out of the way. We'll start with just a tButton for now.
|
2015-08-01 15:08:33 -04:00 |
Pietro Gagliardi
|
63439daffc
|
Some cleanup in the Auto Layout test.
|
2015-08-01 14:22:45 -04:00 |
Pietro Gagliardi
|
c9da21e350
|
More Auto Layout test work. It compiles1
|
2015-08-01 12:43:54 -04:00 |
Pietro Gagliardi
|
8bcaeb5d85
|
More TODOs.
|
2015-08-01 02:28:10 -04:00 |
Pietro Gagliardi
|
52152f0f9d
|
More uiBox mock work.
|
2015-08-01 02:16:35 -04:00 |
Pietro Gagliardi
|
0d27b4e30f
|
Started mocking the implementation of uiBox.
|
2015-07-31 23:25:59 -04:00 |