UnpHeader title area too small for phones #335

Closed
RichSharpe opened this Issue May 29, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@RichSharpe

The 'Save and close buttons get overwritten by the title if its more than say, 14 chars.
Can we wrap the title over 2 lines? I think this would be an appropriate design decision.

@sives

This comment has been minimized.

Show comment
Hide comment
@sives

sives Jun 4, 2015

I agree with this

sives commented Jun 4, 2015

I agree with this

@RichSharpe

This comment has been minimized.

Show comment
Hide comment
@RichSharpe

RichSharpe Jul 15, 2015

Workaround:

  1. Open UnpBootHeader custom control (or copy and rename so it won't get overwritten) - go to line 229 <xp:text value="#{javascript:compositeData.title}" and in the xp:text properties change the Content Type from text to HTML
  2. Add a style attribute to this tag: style="margin-bottom:10px;"
  3. In your common header XPage go to the xp:UnpBootHeader and in the title you can write "First Line <[br/]> Second line " (or) + docview.whateverField (for hte second line)

Workaround:

  1. Open UnpBootHeader custom control (or copy and rename so it won't get overwritten) - go to line 229 <xp:text value="#{javascript:compositeData.title}" and in the xp:text properties change the Content Type from text to HTML
  2. Add a style attribute to this tag: style="margin-bottom:10px;"
  3. In your common header XPage go to the xp:UnpBootHeader and in the title you can write "First Line <[br/]> Second line " (or) + docview.whateverField (for hte second line)

@whitemx whitemx closed this in ceef40d Jul 16, 2015

@whitemx whitemx modified the milestone: 1.5.0 Jul 21, 2015

@whitemx whitemx reopened this Jul 30, 2015

@whitemx

This comment has been minimized.

Show comment
Hide comment
@whitemx

whitemx Jul 30, 2015

Owner

This is broken as a result of upgrading to Bootcards 1.1.3. Will need to raise this as an issue with Mark.

Owner

whitemx commented Jul 30, 2015

This is broken as a result of upgrading to Bootcards 1.1.3. Will need to raise this as an issue with Mark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment