There isn't currently a way to influence just the text.
You could:
1. add an nbsp; char or blank image to the left of the text to achieve the padding you want
OR
2. don't use button.title and just draw your own text using a Label floated over the Progressbar with whatever styling you want
Announcement
Collapse
No announcement yet.
X
-
Originally posted by Isomorphic View PostIs something not working with the baseStyle attribute or did you just not notice it?
like
Code:isc.Progressbar.create({ length: 200, percentDone: 50, title: "50%", showTitle: true, align: "left", baseStyle: "myPadding" })
.myPadding {
padding-left: 5px;
}
This will not make the title padding left 5px, but make the whole progress bar padding left 5px, which is not what we want. We just want the title itselft has some left padding.Last edited by zhanghuancs; 21 Feb 2014, 14:03.
Leave a comment:
-
Is something not working with the baseStyle attribute or did you just not notice it?
Leave a comment:
-
Progress Bar Title Style
I wonder How I can add some styles for the progress bar title, say I want it to have 2px paddings to the left.
I cannot find a way in the documentation.
Code:isc.Progressbar.create({ length: 200, percentDone: 50, title: "50%", showTitle: true, align: "left" })
Last edited by zhanghuancs; 21 Feb 2014, 08:33.Tags: None
Leave a comment: