On 1/15/16, Antonio Scuri <[email protected]> wrote:
> Hi,
>
>   In iupgtk_button.c, try adding pixels to the border estimation:
>
> void iupdrvButtonAddBorders(int *x, int *y)
> {
>   /* LAYOUT_DECORATION_ESTIMATE */
> #ifdef WIN32
>   int border_size = 2*5;
> #else
> #ifdef HILDON
>   int border_size = 2*7+1; /* borders are not symmetric */
> #else
>   int border_size = 2*5+1; /* borders are not symmetric */
> #endif
> #endif
>   (*x) += border_size;
>   (*y) += border_size;
> }
>
>   Ultimately we will need an ifdef for Raspbian.
>
> Best,
> Scuri
>
>
> On Thu, Jan 14, 2016 at 10:27 PM, Antonio Scuri <[email protected]>
> wrote:
>
>>   Ok Thanks. I think we can easily fix that. Just give me a couple of
>> days.
>>
>> Best,
>> Scuri


I (arbitrarily) changed it to
int border_size = 2*15+1;

It looks better:
http://playcontrol.net/tempdownload/iup_screens_pi/iup_gtk3_sample_border15.png

I also just tested Debian Jessie (amd64). It seems to have the same
problem as Raspbian Jessie. So I think this is a general problem, and
not Pi specific.

Thanks,
Eric

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to