[gnome-builder] editor: tweak sizing of search bar
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: tweak sizing of search bar
- Date: Sat, 30 Sep 2017 01:31:30 +0000 (UTC)
commit a6bac08133668223a0a5d17877a173984e58a8b3
Author: Christian Hergert <chergert redhat com>
Date: Fri Sep 29 18:30:15 2017 -0700
editor: tweak sizing of search bar
This helps avoid the jitter while typing characters into the search bar.
src/libide/editor/ide-editor-search-bar.ui | 3 +--
src/libide/editor/ide-editor-view.ui | 3 ++-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-search-bar.ui b/src/libide/editor/ide-editor-search-bar.ui
index c11f9fb..0472b1d 100644
--- a/src/libide/editor/ide-editor-search-bar.ui
+++ b/src/libide/editor/ide-editor-search-bar.ui
@@ -20,8 +20,7 @@
<property name="visible">true</property>
<property name="tag-close-visible">false</property>
<property name="can_focus">true</property>
- <property name="width-chars">20</property>
- <property name="max-width-chars">30</property>
+ <property name="hexpand">true</property>
<property name="primary_icon_name">edit-find-symbolic</property>
<property name="primary_icon_activatable">false</property>
<property name="primary_icon_sensitive">false</property>
diff --git a/src/libide/editor/ide-editor-view.ui b/src/libide/editor/ide-editor-view.ui
index 127d5de..28b6e67 100644
--- a/src/libide/editor/ide-editor-view.ui
+++ b/src/libide/editor/ide-editor-view.ui
@@ -6,10 +6,11 @@
<property name="visible">true</property>
<child type="overlay">
<object class="GtkRevealer" id="search_revealer">
+ <property name="width-request">425</property>
<property name="halign">end</property>
+ <property name="valign">start</property>
<property name="margin-right">24</property>
<property name="reveal-child">false</property>
- <property name="valign">start</property>
<property name="visible">true</property>
<signal name="notify::child-revealed" handler="ide_editor_view_notify_child_revealed"
swapped="true" object="IdeEditorView"/>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]