Opened 11 years ago

Last modified 10 years ago

#4181 new defect

Research how should we use get_preferred_size

Reported by: manuq Owned by: manuq
Priority: Normal Milestone: Unspecified
Component: Sugar Version: Unspecified
Severity: Major Keywords:
Cc: erikos Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

http://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-get-preferred-size

It returns two requisitions, minimun size and natural size. Which should we use? Are we doing ok in here, using the width of one and the height of the other?:

Also, move pending do_size_request to do_get_preferred*. These are:

./src/jarabe/journal/listview.py:53:    def do_size_request(self, requisition):
./src/jarabe/journal/listview.py:60:            Gtk.TreeView.do_size_request(sel
./src/jarabe/journal/listview.py:233:    def do_size_request(self, requisition):
./src/jarabe/frame/framewindow.py:68:    def do_size_request(self, req):

Change History (4)

comment:1 Changed 11 years ago by manuq

  • Severity changed from Unspecified to Major

comment:2 Changed 11 years ago by dnarvaez

  • Component changed from sugar-toolkit to Sugar

comment:3 Changed 11 years ago by dnarvaez

  • Milestone changed from 0.98 to Unspecified

comment:4 Changed 10 years ago by walter

  • Priority changed from Unspecified by Maintainer to Normal
Note: See TracTickets for help on using tickets.