Re: Changeable icon size

2006-11-30 Thread Andre Poenitz
On Tue, Nov 28, 2006 at 02:57:45PM +0100, Jean-Marc Lasgouttes wrote: > > "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > >> Now I don't understand anymore why you want to scale bitmap icons? > > Peter> I don't like the big toolbars, and don't care about the > Peter> artifacts of the

Re: Changeable icon size

2006-11-30 Thread Andre Poenitz
On Wed, Nov 29, 2006 at 11:34:17AM +0100, Peter Kümmel wrote: > Anyway, here it looks like Qt is wasting space, there > is alway a unnecessary big border around the pictures. That's not Qt's doing. I have tight 16x16 toolbars with any Qt 3.3.x/4.x Andre'

Re: Changeable icon size

2006-11-29 Thread Georg Baum
Am Mittwoch, 29. November 2006 09:51 schrieb [EMAIL PROTECTED]: > What exactly is it that we would like to be done? > > If we can describe the task in detail, maybe there is someone on the > users' list that would like to help? (I assume the task requires some > graphic...) Yes, it does. The d

Re: Changeable icon size

2006-11-29 Thread Edwin Leuven
Michael Gerz wrote: What is the standard icon size for KDE/Windows applications? There are four sizes of Windows icons—48 × 48, 32 × 32, 24 × 24, and 16 × 16 pixels. more info here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/winxpicons.asp Starting with v

Re: Changeable icon size

2006-11-29 Thread Peter Kümmel
Peter Kümmel wrote: > Jean-Marc Lasgouttes wrote: >>> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: What is your favourite size, BTW? >> Peter> I think 26 for the normal size and 20 for the small size should >> Peter> be ok on Windows. >> >> Peter> The Qt default is 24, but it seems

Re: Changeable icon size

2006-11-29 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > >>> What is your favourite size, BTW? > > Peter> I think 26 for the normal size and 20 for the small size should > Peter> be ok on Windows. > > Peter> The Qt default is 24, but it seems too small for some ma

Re: Changeable icon size

2006-11-29 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: >> What is your favourite size, BTW? Peter> I think 26 for the normal size and 20 for the small size should Peter> be ok on Windows. Peter> The Qt default is 24, but it seems too small for some math Peter> icons, see the math_24.png. Pet

Re: Changeable icon size

2006-11-29 Thread Peter Kümmel
I've checked in a patch which adds a tool bar popup with three icon sizes: small, normal, big. Default is normal, and should look like lyx 1.4. At the moment we don't have SVG icons, also the icons don't have all the same size, so I think this is the best we could do for now. Peter

Re: Changeable icon size

2006-11-29 Thread Peter Kümmel
Peter Kümmel wrote: > Jean-Marc Lasgouttes wrote: >>> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: >> Peter> But some people like smaller (sub-optimal-scaled) icons, it was >> Peter> already requested on the list. And nobody is forced to change >> Peter> the size when he doesn't like it.

Re: Changeable icon size

2006-11-29 Thread christian . ridderstrom
On Wed, 29 Nov 2006, Georg Baum wrote: > Peter Kümmel wrote: > > > The Qt default is 24, but it seems too small for some math icons, > > see the math_24.png. > > Yes, some math icons are too big (partly my doing, but I tought that > would be better than no icons at all). We really need somebody

Re: Changeable icon size

2006-11-29 Thread Georg Baum
Peter Kümmel wrote: > The Qt default is 24, but it seems too small for some math icons, > see the math_24.png. Yes, some math icons are too big (partly my doing, but I tought that would be better than no icons at all). We really need somebody to go over all icons and make them consistent. Georg

Re: Changeable icon size

2006-11-28 Thread Michael Gerz
Jean-Marc Lasgouttes schrieb: Peter> I don't like the big toolbars, and don't care about the Peter> artifacts of the scaled-down bitmaps. What size is a 'big' toolbar to you? One problem is that our icons have different sizes (from 20x20 to at least 26x26 from what I can see). Can't we tell qt

Re: Changeable icon size

2006-11-28 Thread Peter Kümmel
Here the next proposal: * two sizes: big and small * hard coded platform specific sizes in GuiView.C (is this a good idea?) * session file value is alway possible * choosing small/big overwrites session file value Peter Index: src/frontends/qt4/GuiView.h ==

Re: Changeable icon size

2006-11-28 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > >>> Now I don't understand anymore why you want to scale bitmap icons? > > Peter> I don't like the big toolbars, and don't care about the > Peter> artifacts of the scaled-down bitmaps. > > What size is a 'bi

Re: Changeable icon size

2006-11-28 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Jean-Marc Lasgouttes wrote: >> Can't we just force qt to use the size we provide? Peter> I've committed a patch, so we can now hard code the icon size Peter> in lyx_main.C. Currently it is iconSizeXY = 26, hope this is Peter> correc

Re: Changeable icon size

2006-11-28 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> But some people like smaller (sub-optimal-scaled) icons, it was Peter> already requested on the list. And nobody is forced to change Peter> the size when he doesn't like it. A rule of thumb of interface design is to avoid adding pre

Re: Changeable icon size

2006-11-28 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: >> Now I don't understand anymore why you want to scale bitmap icons? Peter> I don't like the big toolbars, and don't care about the Peter> artifacts of the scaled-down bitmaps. What size is a 'big' toolbar to you? One problem is that ou

Re: Changeable icon size

2006-11-28 Thread Peter Kümmel
Georg Baum wrote: > Peter Kümmel wrote: > >> Georg Baum wrote: >> >>> Or we convert the icons to SVG (AFAIK qt 4 can use SVG icons). Then it >>> would make sense to scale them, but we should not offre that for bitmap >>> icons. >> But I doubt that it makes sense to scale at this small sizes. >> It

Re: Changeable icon size

2006-11-28 Thread Georg Baum
Peter Kümmel wrote: > Georg Baum wrote: > >> Or we convert the icons to SVG (AFAIK qt 4 can use SVG icons). Then it >> would make sense to scale them, but we should not offre that for bitmap >> icons. > > But I doubt that it makes sense to scale at this small sizes. > It's the same problem like

Re: Changeable icon size

2006-11-27 Thread Peter Kümmel
Georg Baum wrote: > Or we convert the icons to SVG (AFAIK qt 4 can use SVG icons). Then it would > make sense to scale them, but we should not offre that for bitmap icons. But I doubt that it makes sense to scale at this small sizes. It's the same problem like with fonts. Only hand adjusted is op

Re: Changeable icon size

2006-11-27 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: > Can't we just > force qt to use the size we provide? I've committed a patch, so we can now hard code the icon size in lyx_main.C. Currently it is iconSizeXY = 26, hope this is correct. If someone wants a other size he could hack the session file after the first LyX c

Re: Changeable icon size

2006-11-27 Thread Peter Kümmel
Georg Baum wrote: > Jean-Marc Lasgouttes wrote: > >> I do not think we should catter for all possible sizes? Can't we just >> force qt to use the size we provide? > > I would prefer that, too. The scaled icons look horrible here, some are not > even recognizable. But some people like smaller (su

Re: Changeable icon size

2006-11-27 Thread Juergen Spitzmueller
Georg Baum wrote: > Or we convert the icons to SVG (AFAIK qt 4 can use SVG icons). That would be great (for 1.6, though). Jürgen

Re: Changeable icon size

2006-11-27 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > I do not think we should catter for all possible sizes? Can't we just > force qt to use the size we provide? I would prefer that, too. The scaled icons look horrible here, some are not even recognizable. > If we provide different sets of > icons later, we will look

Re: Changeable icon size

2006-11-27 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > Peter> Here a patch which makes the toolbar icon size changeable. The > Peter> size could be changed by the toolbar popup menu. It also saves > Peter> the size when quiting and restores it the next time open

Re: Changeable icon size

2006-11-27 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Here a patch which makes the toolbar icon size changeable. The Peter> size could be changed by the toolbar popup menu. It also saves Peter> the size when quiting and restores it the next time opening Peter> lyx. I do not think we sh

Changeable icon size

2006-11-27 Thread Peter Kümmel
Here a patch which makes the toolbar icon size changeable. The size could be changed by the toolbar popup menu. It also saves the size when quiting and restores it the next time opening lyx. This are the related Status.15x items: * Icons in the toolbars do not have the correct size, they are str