[Freeciv-Dev] [bug #13524] [Patch] Alternate widget layout for small displays

2009-05-16 Thread Madeline Book

URL:
  http://gna.org/bugs/?13524

 Summary: [Patch] Alternate widget layout for small displays
 Project: Freeciv
Submitted by: mbook
Submitted on: Sunday 05/17/2009 at 01:18
Category: client-gtk-2.0
Severity: 4 - Important
Priority: 6
  Status: Ready For Test
 Assigned to: mbook
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
Operating System: None

___

Details:

Attached patches for S2_1 and trunk implement a gui
option to have the widgets in the main window
rearranged so that they fit on a short display.

The option 'small_display_layout' if enabled causes
the overview, and the player and unit info boxes to
extend over the entire left side of the window. If
the option is disabled (the default), the current
widget layout is preserved. To avoid complicated
widget reparenting chicanery, the option only takes
affect when the program is restarted.

A call to gtk_widget_set_size_request() for the
main map canvas is added, so that the order of
packing the widgets does not cause the drawing
area to shrink to a height of a few pixels.

It would be good if this patch could be tested
on other platforms where gtk widget packing might
be implemented a little differently (e.g. win32,
mac).

Also attached is a screenshot with amplio showing
the size of the smallest possible window.



小さい方は合点します。



___

File Attachments:


---
Date: Sunday 05/17/2009 at 01:18  Name:
S2_1-small_display_layout_option.patch  Size: 5kB   By: mbook

http://gna.org/bugs/download.php?file_id=5785
---
Date: Sunday 05/17/2009 at 01:18  Name:
trunk-small_display_layout_option.patch  Size: 5kB   By: mbook

http://gna.org/bugs/download.php?file_id=5786
---
Date: Sunday 05/17/2009 at 01:18  Name: minigui.jpg  Size: 76kB   By: mbook

http://gna.org/bugs/download.php?file_id=5787

___

Reply to this item at:

  http://gna.org/bugs/?13524

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #13525] [Patch] Scrollable options window

2009-05-16 Thread Madeline Book

URL:
  http://gna.org/bugs/?13525

 Summary: [Patch] Scrollable options window
 Project: Freeciv
Submitted by: mbook
Submitted on: Sunday 05/17/2009 at 02:16
Category: client-gtk-2.0
Severity: 3 - Normal
Priority: 5 - Normal
  Status: Ready For Test
 Assigned to: mbook
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
Operating System: None

___

Details:

Attached patch for S2_1 and trunk makes the options
list in the local options dialog appear in a scroll
window if there are so many options that to display
them all would take up more than 400 pixels of screen
height.

This is currently the case for the interface options,
which have been proliferating lately. :)



もうえさをやらないでください!



___

File Attachments:


---
Date: Sunday 05/17/2009 at 02:16  Name: scrollable_options.diff  Size: 2kB  
By: mbook

http://gna.org/bugs/download.php?file_id=5788

___

Reply to this item at:

  http://gna.org/bugs/?13525

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev