[tabs] Changing Tab titles dynamics creates spacing issue

Bug #1168359 reported by Nekhelesh Ramananthan
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Won't Fix
High
Zsombor Egri

Bug Description

For the ubuntu-clock core apps, we use tabs to switch between Timer, Stopwatch, Clock and Alarm. It is required by design to dynamically change the label of these tabs to match the current task.

For instance, in the Timer tab the default title is "Timer". When the user presses add timer preset button, the title should dynamically change to "Add Preset". This is done by,

timerTab.title = "Add Preset"

However on doing this, the spacing of the tabs is faulty. See attached screenshot which illustrates the issue.

Tags: tabs
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
assignee: nobody → Tim Peeters (tpeeters)
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
importance: Undecided → High
status: New → Confirmed
summary: - Changing Tab titles dynamics creates spacing issue
+ [tabs] Changing Tab titles dynamics creates spacing issue
tags: added: timer
tags: removed: timer
Tim Peeters (tpeeters)
tags: added: tabs
Revision history for this message
Tim Peeters (tpeeters) wrote :

Zsombor I gave this to you because you are working on dynamic tabs.
Perhaps it is fixed already?

Feel free to give it back to me if this doesn't fit your plans.

Changed in ubuntu-ui-toolkit:
assignee: Tim Peeters (tpeeters) → Zsombor Egri (zsombi)
Revision history for this message
Tim Peeters (tpeeters) wrote :

If this is not fixed yet, it can be changed to "Won't fix" because the new header won't have these problems any more.

Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.