Re:Re: HScale don't move
- From: "Xi Yang" <jiandingzhe 163 com>
- To: Tadej BorovÅak <tadeboro gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re:Re: HScale don't move
- Date: Tue, 9 Aug 2011 14:24:30 +0800 (CST)
I changed both page size and page increment to 0, and the slider moves. However, why I get an initial value
of 0, instead of 5?
At 2011-08-09 13:46:54,"Tadej BorovÅak" <tadeboro gmail com> wrote:
Hi.
<object class="GtkAdjustment" id="adj_assign">
<property name="value">5</property>
<property name="upper">10</property>
<property name="step_increment">0.10000000000000001</property>
<property name="page_increment">10</property>
<property name="page_size">10</property>
</object>
page-size property of GtkAdjustment should be set to 0 when not being
used with scrollbars. value property of GtkAdjustment is confined to
interval [lower, upper - page_size], which in your case is only single
value 0.
Cheers,
Tadej
--
Tadej BorovÅak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]