Window doesn’t resize

Bug #454578 reported by Christoph Bier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Triple Game
Fix Released
Medium
Unassigned

Bug Description

On my Notebook, the game window is too big to fit onto the screen. The window isn’t resizeable, so i can’t make it fitting.
Possible solution would be to use vector graphics for the cards which would resize nicely.

Revision history for this message
Ralf Hersel (ralf.hersel) wrote :

This is not a bug because it works as designed. But you are right, it would be nice if it scales. I will add this as a change request in Blueprints.

Here is a work-around:

1. resize the card images
1.1 install imagemagick (probably you already have it)
1.2 backup the original cards (if you want to keep them)
1.3 open a terminal and go to the cards folder
1.4 resize the images with this command: mogrify -monitor -resize 100x138 *.png
1.5 exit terminal

2. change the minimal window size
2.1 open the file triple.py in a text editor
2.2 go to line 418: self.window.set_size_request(900, 800)
2.3 change the size to (10, 10)
2.4 save your changes and close editor

3. run Triple
3.1 open terminal and go to the Triple folder
3.2 start it with this command: python triple.py
3.3 check if the size meets your requirements

Changed in triplegame:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Ralf Hersel (ralf.hersel) wrote :

Fixed in version 0.14 on Oct. 19, 2009.
Cards resize depending on window size. This happens when the game is started. A resize of the window needs a restart to resize the cards as well.

Changed in triplegame:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.