KDatePicker improvements
Hans Meine
hans_meine at gmx.net
Thu Nov 22 14:36:08 GMT 2007
Am Donnerstag, 22. November 2007 15:30:05 schrieb Jakob Petsovits:
> > > That was actually my first attempt - I had a much easier patch working
> > > which had the year widget as a spinbox, but the conclusion was that
> > > it's not ideal because horizontal month navigation (left/right) doesn't
> > > make a good fit for vertical year navigation (up/down).
> >
> > Even though the latter appears only after a mouse click?
>
> Er, no, it was a permanent widget, replacing the tool button.
> Toggling between tool button and spinbox poses sizing issues
I did not suggest to toggle between tool button and spinbox, but the spinbox
should be integrated into the lineedit, which only appears after clicking on
the year..
> (how to not extend or shrink sizes when widgets are switched)
> and, I think, is also highly unexpected for the user.
..then it is not too unexpected (as unexpected as an editable control
appearing after clicking on the year, which is already made intuitive by the
mouse-over button effect).
> > Then the direct consequence would be to introduce horizontal spinbox
> > controls.
>
> That's essentially a label with two arrows at each side,
> i.e. the "<- month -> <- year ->" thingie.
Right. Anyhow - I suggested to let the arrows appear together with the
lineedit, but it might look strange if that happens for the year and week,
but not for the month. OTOH, we show a month calendar below, not a year or
week, so the arrows are more intuitive for the month AFAICS.
Ciao, / /
/--/
/ / ANS
More information about the kde-core-devel
mailing list