Interface Kit: Adjust max size and default alignment...

...on controls where it makes sense:
- BRadioButton and BCheckBox now return their preferred size as their
maximum.
- BRadioButton, BCheckBox and BTextControl now use left alignment by
default, as this is the most common use case for them.
This commit is contained in:
Rene Gollent
2013-07-01 11:30:49 -04:00
parent 621ae6bd72
commit 46d6e9d9ed
6 changed files with 33 additions and 5 deletions
+1
View File
@@ -86,6 +86,7 @@ public:
virtual BSize MinSize();
virtual BSize MaxSize();
virtual BSize PreferredSize();
virtual BAlignment LayoutAlignment();
BLayoutItem* CreateLabelLayoutItem();
BLayoutItem* CreateTextViewLayoutItem();