• 28.04.2024, 12:03
  • Registrieren
  • Anmelden
  • Sie sind nicht angemeldet.

 

Lieber Besucher, herzlich willkommen bei: Aqua Computer Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

RuffHi

Junior Member

Setting up Pages

Montag, 6. November 2023, 20:12

Afternoon all. I have finally finished my water cooled PC and will be using it from now on. That brings Aqua-stuff back into the mix. I have been playing this morning with direct edits of the XML page files and have managed to duplicate some displays that I am using (fan speed and power information for my fans). Direct editing means that I don't have to worry about the micro pixel related placement work. All I have to do is the math :).

The bad side is that my images (fan, pump, temp, etc) refuse to load. I have the png files stored, the location in the XML looks right. What am I missing?

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<UserControl
    x:Name="this"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    mc:Ignorable="d" d:DesignHeight="200" d:DesignWidth="200">
    <Grid>
        <!--Loads an image-->
        <!--Source: path or url to image-->
        <Image               
            Source="Content/images/fans.png"
            Opacity="1.0"
            Height="Auto" 
            Width="Auto" 
            Margin="0,0,0,0"            
            Stretch="Uniform" 
            StretchDirection="Both" />
    </Grid>
</UserControl>

RuffHi

Junior Member

Montag, 6. November 2023, 20:26

Never mind ... just added a new one using the template and it solved the (my?) issue.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<UserControl
    x:Name="this"

<snip>

    <Grid>
        <!--Loads an image-->
        <!--Source: path or url to image-->
        <Image               
            Source="file:///C:\Program Files\aquasuite\Content/images/fans.png"
            Opacity="1.0"

<snip>

</UserControl>

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »RuffHi« (6. November 2023, 21:14)

RuffHi

Junior Member

Dienstag, 7. November 2023, 15:09

That said ... I do have a page that I can't access. I click on it and it locks up the program. How do I delete it if I can't get to the settings cog?

Edit: Nevermind ... you can get to the settings cog by clicking on it ... without trying to display the page.

Ähnliche Themen