Re: [Planner Dev] "Nonstandard Days" and "Dominant tasks" - 4th patch - style corrections



On Sun, Mar 19, 2006 at 11:10:12AM -0500, Kurt Maute wrote:
> On Fri, 2006-03-17 at 14:10 +0100, Matteo Nastasi wrote:
> 
> > > > There are other kinds of corrections to made ?
> 
> The only thing I noticed is that we prefer to initialize variables
> outside their declaration statements - just makes the code a bit more
> readable.
Ok, I will adjust this.

> > > > For Richard about the vertical padding: I don't understand exactly the
> > > > problem to add a little padding when "nonstandard days" are enabled;
> > > > the height of gtktreeview rows strictly depends from font size only;
> > > > the padding is added to this value, not other.
> > > > 
> > > > I hope that you change your opinion trying the last patch revision.
> > > 
> > > I'll look at this as well, but my concern is that if it looks misaligned
> > > at all when editing, people will file bug reports against it and we'll
> > > end up changing it anyway in the long run.
> > This are two shots of planner with ypadded cells in "show" and "edit" mode.
> > I don't think that people will reports this as a bug.
> > 
> > http://www.alternativeoutput.it/planner/editable.htm
> 
> I still have an issue with this.  I tried it out and did a comparison
> between setting the YPAD to 2 rather than 4.
> 
> http://www.maute.us/planner/images/NonStdDays-YPAD4.png
> http://www.maute.us/planner/images/NonStdDays-YPAD2.png
> 
> I think the misalignment when editing is still quite noticeable.  I also
> think the display of nonworking days on the gantt chart is fine without
> expanding the treeview height, so I still believe the height should be
> left alone.
If the reduction of the height of 5% of gantt bars isn't a problem,
for me is ok. 
I had submitted to bugzilla.gnome the problem of the misalignment, 
if the gtk team solve the problem we can restart to talk about it ;).

Richard, which are your thoughts about it ?

If there aren't problems with this solution: can I "ifdeffing" the ypad
related part of code to don't lose my work (maybe gtk team solve their
problem) or must I remove it ?

Regards, Matteo.

----- 8< -----

-- 
 Matteo Nastasi  -  Milano - Italy  | HomePage: www.alternativeoutput.it
 Sostenere e supportare GNU/Linux ! | IRC:    #linux-mi irc freenode net   
 Milano Linux                       | E-Mail:   matteo nastasi milug org 
        Users Group  www.milug.org  |       nastasi alternativeoutput it



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]