> From: bodge...@gmail.com
> Date: Mon, 27 Oct 2014 19:50:32 +0000
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade
> 
> On 27 October 2014 19:35, Chris Morley <chrisinnana...@hotmail.com> wrote:
> 
> > The GTK theme controls the basic size of such things.
> > Here is a theme with large sliders that works better with touch screens.
> 
> Thanks but it looks like I can't avoid coding anyway, so I will look
> at the popup keyboard first.
> 
> > Sorry I don't have one with large spin buttons but maybe you could google 
> > that.
> 
> Google ended up in a "DenverCoder9" experience. [1]
> 
> http://xkcd.com/979/
> 
> -- 

Oh well :)

For anyone else interested:
in the gtkrc file I previously posted:

look in that file for:


style "spin"
{
  engine "pixmap" 
   {
    image 
      {
        function        = BOX
    recolorable     = TRUE
    state        = PRELIGHT
    file            = "spin2.png"
    border          = { 4,5,4,5 }
    stretch         = TRUE
      }
<snip>

add to  it:

style "spin"
{
  xthickness = 20
  ythickness = 20
  engine "pixmap" 
<snip>

It is easy to over do this.
In fact to really do this right it is possible to only change the size of 
specific
spinboxes... but it ties you to a theme that was made for it.

Chris M

                                          
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to