{kind: "onyx.Toolbar", components: [
{kind: "enyo.Image", name: "feedTitleIcon", fit: false, src: "", style: "height:30px;"}, //height: 54px"},
{name: "lblFeedTitle", content: "Feed", style: "font-size:1.2em; font-weight:bold;", fit: true},
{kind: "onyx.ToggleIconButton", name: "toggleFeedUnread", onChange: "UpdateFeedClick", style:" position:fixed; right:5px;", value: true, src: "assets/menu-icon-bookmark.png"}
]},
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Marcel
white-space: nowrap
to prevent breaking to subsequent lines.I played around with it yesterday and found a solution. At start of the app, I use the "innerWidth" function of the device it is running on, subtract the pixels the Icon and togglebutton need and set the "width" style of the text accordingly. I did guess "fit: true" should do that already, but unfortunately no.
Solved!
Thanks
Marcel