Adding overflow text
Adding tool bar quick buttons
This commit is contained in:
parent
e7f22f1895
commit
e91decdc12
11 changed files with 243 additions and 125 deletions
|
|
@ -58,14 +58,14 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
/// </summary>
|
||||
public class SimpleTabs : FlowLayoutWidget
|
||||
{
|
||||
public SimpleTabs(ThemeConfig theme, GuiWidget rightAnchorItem = null)
|
||||
public SimpleTabs(ThemeConfig theme, string overflowText, GuiWidget rightAnchorItem = null)
|
||||
: base(FlowDirection.TopToBottom)
|
||||
{
|
||||
this.TabContainer = this;
|
||||
|
||||
if (rightAnchorItem == null)
|
||||
{
|
||||
TabBar = new OverflowBar(theme)
|
||||
TabBar = new OverflowBar(null, theme, overflowText)
|
||||
{
|
||||
HAnchor = HAnchor.Stretch,
|
||||
VAnchor = VAnchor.Fit
|
||||
|
|
@ -252,7 +252,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
public event EventHandler PlusClicked;
|
||||
|
||||
public ChromeTabs(GuiWidget rightAnchorItem, ThemeConfig theme)
|
||||
: base(theme, rightAnchorItem)
|
||||
: base(theme, null, rightAnchorItem)
|
||||
{
|
||||
leadingTabAdornment = new GuiWidget()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue