|
From: Joe E. <jen...@fl...> - 2005-11-15 20:57:34
|
Bryan Oakley wrote:
> I tried the progressbar in tile 0.7.2 for the first time today. Looks
> prett spiffy on MacOSX!
>
> However, the height (when oriented horizontally) seems fixed. When I use
> place it in line with a status bar, it doesn't fill the cell in the Y
> direction.
>
> Is this going to be a fact of life, or is it a bug?
Probably a bug. Something similar happens in the X11 themes --
the progress bar trough expands to fill the available height,
but the bar itself stays centered at the default thickness.
The following fixes this for the X11 themes:
style theme settings default {
style layout Horizontal.TProgressbar {
Horizontal.Progressbar.trough -sticky nswe -children {
Horizontal.Progressbar.pbar -side left -sticky ns
}
}
}
(i.e., change the ".pbar" element from '-sticky {}' to '-sticky ns';
will fix this in CVS).
In the aqua theme, however, it's already using '-sticky nsew',
and the progress bar element draw function is passing the entire
parcel to DrawThemeTrack(). So the Appearance manager might be
hardwired to draw progress bars with the HIG-specified thickness.
Will investigate further (bug filed at SF: #1357605).
--Joe English
jen...@fl...
|