gnome-split-team team mailing list archive
-
gnome-split-team team
-
Mailing list archive
-
Message #00135
[Branch ~respawneral/gnome-split/mainline] Rev 256: Resize behaviour.
------------------------------------------------------------
revno: 256
committer: Guillaume Mazoyer <respawneral@xxxxxxxxx>
branch nick: java-gnome-4.0.20
timestamp: Sun 2011-05-08 12:14:50 +0200
message:
Resize behaviour.
Better way to resize the window. All widgets
should fill the space correctly without having
an strange size. This is the space between the
widgets that should grow the most when the window
is resized.
modified:
src/org/gnome/split/gtk/widget/MergeWidget.java
src/org/gnome/split/gtk/widget/SplitWidget.java
--
lp:gnome-split
https://code.launchpad.net/~respawneral/gnome-split/mainline
Your team GNOME Split developers is subscribed to branch lp:gnome-split.
To unsubscribe from this branch go to https://code.launchpad.net/~respawneral/gnome-split/mainline/+edit-subscription
=== modified file 'src/org/gnome/split/gtk/widget/MergeWidget.java'
--- src/org/gnome/split/gtk/widget/MergeWidget.java 2011-05-06 16:13:51 +0000
+++ src/org/gnome/split/gtk/widget/MergeWidget.java 2011-05-08 10:14:50 +0000
@@ -111,7 +111,7 @@
// First chunk row
final HBox chunkRow = new HBox(false, 5);
- container.packStart(chunkRow, true, true, 0);
+ container.packStart(chunkRow, false, false, 0);
final Label fileLabel = new Label(_("First chunk:"));
fileLabel.setAlignment(0.0f, 0.5f);
@@ -144,7 +144,7 @@
// Destination row
final HBox destinationRow = new HBox(false, 5);
- container.packStart(destinationRow, true, true, 0);
+ container.packStart(destinationRow, false, false, 0);
final Label destinationLabel = new Label(_("Destination:"));
destinationLabel.setAlignment(0.0f, 0.5f);
@@ -155,11 +155,11 @@
dirChooser = new FileChooserButton(_("Choose a directory."), FileChooserAction.SELECT_FOLDER);
dirChooser.setCurrentFolder(app.getConfig().MERGE_DIRECTORY);
- destinationRow.packStart(dirChooser, false, false, 0);
+ destinationRow.packStart(dirChooser, true, true, 0);
// Parts info row
final HBox partsRow = new HBox(false, 5);
- container.packStart(partsRow, true, true, 0);
+ container.packStart(partsRow, false, false, 0);
final Label partsLabel = new Label(_("Chunks:"));
partsLabel.setAlignment(0.0f, 0.5f);
@@ -171,7 +171,7 @@
// Size info row
final HBox infoRow = new HBox(false, 5);
- container.packStart(infoRow, true, true, 0);
+ container.packStart(infoRow, false, false, 0);
final Label sizeLabel = new Label(_("Total size:"));
sizeLabel.setAlignment(0.0f, 0.5f);
@@ -183,7 +183,7 @@
// MD5 sum info row
final HBox md5Row = new HBox(false, 5);
- container.packStart(md5Row, true, true, 0);
+ container.packStart(md5Row, false, false, 0);
final Label md5Label = new Label(_("MD5 sum:"));
md5Label.setAlignment(0.0f, 0.5f);
=== modified file 'src/org/gnome/split/gtk/widget/SplitWidget.java'
--- src/org/gnome/split/gtk/widget/SplitWidget.java 2011-05-06 16:13:51 +0000
+++ src/org/gnome/split/gtk/widget/SplitWidget.java 2011-05-08 10:14:50 +0000
@@ -103,7 +103,7 @@
this.setBorderWidth(5);
final HBox firstRow = new HBox(false, 5);
- this.packStart(firstRow, true, true, 0);
+ this.packStart(firstRow, false, false, 0);
final Label fileLabel = new Label(_("File:"));
fileLabel.setAlignment(0.0f, 0.5f);
@@ -120,11 +120,11 @@
firstRow.packStart(fileChooser, true, true, 0);
final HBox secondRow = new HBox(false, 5);
- this.packStart(secondRow, true, true, 0);
+ this.packStart(secondRow, false, false, 0);
final Label destinationLabel = new Label(_("Destination:"));
destinationLabel.setAlignment(0.0f, 0.5f);
- secondRow.packStart(destinationLabel, true, true, 0);
+ secondRow.packStart(destinationLabel, false, false, 0);
destinationEntry = new Entry();
secondRow.packStart(destinationEntry, true, true, 0);
@@ -134,17 +134,17 @@
secondRow.packStart(dirChooser, true, true, 0);
final HBox thirdRow = new HBox(false, 5);
- this.packStart(thirdRow, true, true, 0);
+ this.packStart(thirdRow, false, false, 0);
// Pack size related widgets
final VBox firstColumn = new VBox(false, 5);
thirdRow.packStart(firstColumn, true, true, 0);
final Label sizeLabel = new Label(_("Split in:"));
- firstColumn.packStart(sizeLabel, true, true, 0);
+ firstColumn.packStart(sizeLabel, false, false, 0);
final HBox splitSize = new HBox(false, 3);
- firstColumn.packStart(splitSize, true, true, 0);
+ firstColumn.packStart(splitSize, false, false, 0);
sizeButton = new SpinButton(1, 4096, 1);
splitSize.packStart(sizeButton, true, true, 0);
@@ -157,7 +157,7 @@
thirdRow.packStart(secondColumn, true, true, 0);
final Label algoLabel = new Label(_("Algorithm:"));
- secondColumn.packStart(algoLabel, true, true, 0);
+ secondColumn.packStart(algoLabel, false, false, 0);
algoList = new AlgorithmsBox(app);
secondColumn.packStart(algoList, true, true, 0);