More stale and duplicate TODO removal.
This commit is contained in:
parent
eb11452dd3
commit
42d837806d
|
@ -1,9 +1,6 @@
|
||||||
// 15 august 2015
|
// 15 august 2015
|
||||||
#import "uipriv_darwin.h"
|
#import "uipriv_darwin.h"
|
||||||
|
|
||||||
// TODOs
|
|
||||||
// - page 2 tab doesn't lay out properly at first; need to jiggle on page change too :S
|
|
||||||
|
|
||||||
@interface tabPage : NSObject {
|
@interface tabPage : NSObject {
|
||||||
struct singleChildConstraints constraints;
|
struct singleChildConstraints constraints;
|
||||||
int margined;
|
int margined;
|
||||||
|
@ -81,7 +78,6 @@ struct uiTab {
|
||||||
{
|
{
|
||||||
self->margined = m;
|
self->margined = m;
|
||||||
singleChildConstraintsSetMargined(&(self->constraints), self->margined);
|
singleChildConstraintsSetMargined(&(self->constraints), self->margined);
|
||||||
// TODO issue a relayout command?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@ -137,7 +133,6 @@ BOOL uiTabHugsTrailingEdge(uiDarwinControl *c)
|
||||||
{
|
{
|
||||||
uiTab *t = uiTab(c);
|
uiTab *t = uiTab(c);
|
||||||
|
|
||||||
// TODO make a function?
|
|
||||||
return t->horzHuggingPri < NSLayoutPriorityWindowSizeStayPut;
|
return t->horzHuggingPri < NSLayoutPriorityWindowSizeStayPut;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -231,7 +231,6 @@ void uiWindowSetMargined(uiWindow *w, int margined)
|
||||||
{
|
{
|
||||||
w->margined = margined;
|
w->margined = margined;
|
||||||
singleChildConstraintsSetMargined(&(w->constraints), w->margined);
|
singleChildConstraintsSetMargined(&(w->constraints), w->margined);
|
||||||
// TODO issue a relayout command?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int defaultOnClosing(uiWindow *w, void *data)
|
static int defaultOnClosing(uiWindow *w, void *data)
|
||||||
|
|
Loading…
Reference in New Issue