[california] Ensure EditableLabel is the same width as the Label
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Ensure EditableLabel is the same width as the Label
- Date: Thu, 1 May 2014 20:55:34 +0000 (UTC)
commit db8d8dc6a3365a6dadea4f5463143d429165d159
Author: Jim Nelson <jim yorba org>
Date: Thu May 1 13:54:57 2014 -0700
Ensure EditableLabel is the same width as the Label
This fixes problem with calendars with long titles.
src/toolkit/toolkit-editable-label.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/toolkit/toolkit-editable-label.vala b/src/toolkit/toolkit-editable-label.vala
index 46bd05f..88b7854 100644
--- a/src/toolkit/toolkit-editable-label.vala
+++ b/src/toolkit/toolkit-editable-label.vala
@@ -41,6 +41,7 @@ public class EditableLabel : Popup {
// set up Gtk.Entry to look and be sized exactly like the Gtk.Label
entry.text = label.label;
entry.width_chars = label.width_chars;
+ entry.set_size_request(label.get_allocated_width(), -1);
add(entry);
// make sure the Popup window is hugging close to label as well
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]