ex-makina / marklight-issues

Public bug and issue tracker for MarkLight
1 stars 0 forks source link

Add ability to remove redundant views in Buttons, etc. #29

Open patrik-u opened 8 years ago

patrik-u commented 8 years ago

Purpose of this is task is to make it easy to remove a bunch of views in the hierarchy that isn't used.

For example, the Button has a Label view but for a button without text it's redundant. So we want a bool field that the user can set that tells the button to permenantly remove its Label. The same field can be needed for unused content on: CheckBox, Column, ColumnHeader, ComboBoxItem, InputField, ListItem, Panel, RadioButton, Row, RowHeader, TabHeader, Window. This is done already in the List view, which in its Initialize method removes the ListPanel if IsScrollable is false and the ListMask if UseListMask is set to false.