Make the slider fixed size, and aligned to the right.
SVN revision: 30306
This commit is contained in:
parent
48685f76ad
commit
a9aea24c95
|
@ -135,7 +135,7 @@ void create_main_gui(void)
|
|||
|
||||
add_edit_view(em->edit_vbox);
|
||||
|
||||
em->view = add_box(em->main_vbox, EWL_ORIENTATION_HORIZONTAL, 2);
|
||||
em->view = add_box(em->main_vbox, EWL_ORIENTATION_HORIZONTAL, 1);
|
||||
ewl_object_fill_policy_set(EWL_OBJECT(em->view), EWL_FLAG_FILL_ALL);
|
||||
|
||||
em->browser = ewl_notebook_new();
|
||||
|
|
|
@ -47,6 +47,8 @@ Ewl_Widget *add_normal_view(Ewl_Widget *c)
|
|||
ewl_range_value_set(EWL_RANGE(em->fthumb_size), 64);
|
||||
ewl_container_child_append(EWL_CONTAINER(em->fbox_vbox), em->fthumb_size);
|
||||
ewl_callback_append(em->fthumb_size, EWL_CALLBACK_VALUE_CHANGED, change_size, NULL);
|
||||
ewl_object_alignment_set(EWL_OBJECT(em->fthumb_size), EWL_FLAG_ALIGN_RIGHT);
|
||||
ewl_object_maximum_size_set(EWL_OBJECT(em->fthumb_size), 100, 25);
|
||||
ewl_widget_show(em->fthumb_size);
|
||||
|
||||
return em->fbox_vbox;
|
||||
|
|
Loading…
Reference in New Issue