[intro] Fix some text alignment issues and oversample side splash

This commit is contained in:
Hylke Bons 2010-08-07 20:44:12 +01:00
parent 816ad4755d
commit 21ee7c28fb
3 changed files with 19 additions and 20 deletions

View file

@ -47,12 +47,12 @@ namespace SparkleShare {
BorderWidth = 0; BorderWidth = 0;
IconName = "folder-sparkleshare"; IconName = "folder-sparkleshare";
Resizable = false; Resizable = true;
WindowPosition = WindowPosition.Center; WindowPosition = WindowPosition.Center;
StepTwoOnly = false; StepTwoOnly = false;
SetSizeRequest (640, 440); SetDefaultSize (640, 480);
Window window = new Window (""); Window window = new Window ("");
SecondaryTextColor = GdkColorToHex (window.Style.Foreground (StateType.Insensitive)); SecondaryTextColor = GdkColorToHex (window.Style.Foreground (StateType.Insensitive));
@ -71,18 +71,18 @@ namespace SparkleShare {
"side-splash.png")); "side-splash.png"));
VBox wrapper = new VBox (false, 0); VBox wrapper = new VBox (false, 0);
VBox layout_vertical = new VBox (false, 0) { VBox layout_vertical = new VBox (false, 0) {
BorderWidth = 30 BorderWidth = 30
}; };
Label header = new Label ("<span size='x-large'><b>" + Label header = new Label ("<span size='x-large'><b>" +
_("Welcome to SparkleShare!") + _("Welcome to SparkleShare!") +
"</b></span>") { "</b></span>") {
UseMarkup = true, UseMarkup = true,
Xalign = 0 Xalign = 0
}; };
Label information = new Label (_("Before we can create a SparkleShare folder on this " + Label information = new Label (_("Before we can create a SparkleShare folder on this " +
"computer, we need a few bits of information from you.")) { "computer, we need a few bits of information from you.")) {
Xalign = 0, Xalign = 0,
@ -221,7 +221,7 @@ namespace SparkleShare {
string github_text = "<b>" + "Github" + "</b>\n" + string github_text = "<b>" + "Github" + "</b>\n" +
"<span fgcolor='" + SecondaryTextColor + "' size='small'>" + "<span fgcolor='" + SecondaryTextColor + "' size='small'>" +
_("Free hosting for Free and Open Source Software projects. ") + _("Free hosting for Free and Open Source Software projects.") + "\n" +
_("Also has paid accounts for extra private space and bandwidth.") + _("Also has paid accounts for extra private space and bandwidth.") +
"</span>"; "</span>";
@ -232,7 +232,7 @@ namespace SparkleShare {
string gnome_text = "<b>" + _("The GNOME Project") + "</b>\n" + string gnome_text = "<b>" + _("The GNOME Project") + "</b>\n" +
"<span fgcolor='" + SecondaryTextColor + "' size='small'>" + "<span fgcolor='" + SecondaryTextColor + "' size='small'>" +
_("GNOME is an easy to understand interface to your computer.") + " " + _("GNOME is an easy to understand interface to your computer.") + "\n" +
_("Select this option if youre a developer or designer working on GNOME.") + _("Select this option if youre a developer or designer working on GNOME.") +
"</span>"; "</span>";
@ -243,10 +243,9 @@ namespace SparkleShare {
string gitorious_text = "<b>" + _("Gitorious") + "</b>\n" + string gitorious_text = "<b>" + _("Gitorious") + "</b>\n" +
"<span fgcolor='" + SecondaryTextColor + "' size='small'>" + "<span fgcolor='" + SecondaryTextColor + "' size='small'>" +
_("Completely Free and Open Source infrastructure for hosting ") + _("Completely Free as in Freedom infrastructure.") + "\n" +
_("Free and Open Source Software projects.") + _("Free accounts for Free and Open Source projects.") +
"</span>"; "</span>";
RadioButton radio_button_gitorious = new RadioButton (radio_button, gitorious_text) { RadioButton radio_button_gitorious = new RadioButton (radio_button, gitorious_text) {
Xalign = 0 Xalign = 0
}; };
@ -716,7 +715,7 @@ namespace SparkleShare {
Xalign = 0 Xalign = 0
}; };
Label information = new Label (_("Now you can start accepting invitations from others. " + Label information = new Label (_("Now you can start accepting invitations from others. " + "\n" +
"Just click on invitations you get by email and " + "Just click on invitations you get by email and " +
"we will take care of the rest.")) { "we will take care of the rest.")) {
UseMarkup = true, UseMarkup = true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View file

@ -11,7 +11,7 @@
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="150.00002" width="150.00002"
height="440" height="480"
id="svg8763" id="svg8763"
version="1.1" version="1.1"
inkscape:version="0.47 r22583" inkscape:version="0.47 r22583"
@ -28,12 +28,12 @@
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="1" inkscape:zoom="1"
inkscape:cx="276.72576" inkscape:cx="276.72576"
inkscape:cy="159.36832" inkscape:cy="237.36832"
inkscape:document-units="px" inkscape:document-units="px"
inkscape:current-layer="g8506" inkscape:current-layer="g8506"
showgrid="false" showgrid="false"
inkscape:window-width="1440" inkscape:window-width="1440"
inkscape:window-height="844" inkscape:window-height="841"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="0" inkscape:window-y="0"
inkscape:window-maximized="1" /> inkscape:window-maximized="1" />
@ -45,7 +45,7 @@
fx="138.22266" fx="138.22266"
cy="423.06143" cy="423.06143"
cx="138.22266" cx="138.22266"
gradientTransform="matrix(2.7535912,-4.7723707e-7,4.9956873e-7,2.7367344,-440.46603,-670.01595)" gradientTransform="matrix(2.7535912,-5.2275014e-7,4.9956873e-7,2.9977309,-440.46603,-789.77953)"
gradientUnits="userSpaceOnUse" gradientUnits="userSpaceOnUse"
id="radialGradient8554" id="radialGradient8554"
xlink:href="#linearGradient7605" xlink:href="#linearGradient7605"
@ -236,7 +236,7 @@
</filter> </filter>
<pattern <pattern
id="pattern2719" id="pattern2719"
patternTransform="translate(-523,-333)" patternTransform="translate(-512.45088,-372.16007)"
height="256" height="256"
width="256" width="256"
patternUnits="userSpaceOnUse"> patternUnits="userSpaceOnUse">
@ -291,7 +291,7 @@
style="stop-color:#ce5c00;stop-opacity:1" /> style="stop-color:#ce5c00;stop-opacity:1" />
</linearGradient> </linearGradient>
<pattern <pattern
patternTransform="translate(-523,-583)" patternTransform="translate(-512.45088,-622.16007)"
id="pattern4229-8" id="pattern4229-8"
xlink:href="#pattern2719-8" xlink:href="#pattern2719-8"
inkscape:collect="always" /> inkscape:collect="always" />
@ -620,7 +620,7 @@
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
<g <g
transform="translate(-239.28571,-243.79075)" transform="translate(-239.28571,-203.79075)"
id="layer1" id="layer1"
inkscape:groupmode="layer" inkscape:groupmode="layer"
inkscape:label="Layer 1"> inkscape:label="Layer 1">
@ -628,9 +628,9 @@
transform="translate(374.14287,98.00001)" transform="translate(374.14287,98.00001)"
id="g8506"> id="g8506">
<rect <rect
y="145.39075" y="103.39075"
x="-134.85715" x="-134.85715"
height="440.39999" height="482.39999"
width="150" width="150"
id="rect8343" id="rect8343"
style="color:#000000;fill:url(#radialGradient8554);fill-opacity:1;stroke:none;stroke-width:3;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> style="color:#000000;fill:url(#radialGradient8554);fill-opacity:1;stroke:none;stroke-width:3;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />

Before

Width:  |  Height:  |  Size: 841 KiB

After

Width:  |  Height:  |  Size: 841 KiB