Create a script to rename and resize all my gui-controls
€30-250 EUR
Closed
Posted over 6 years ago
€30-250 EUR
Paid on delivery
Hey guys, im looking for somebody to create quiet a nifty script.
The details are the following :
I dont want to have any static components in my GUI so I plan to randomly scale every item in my Interface from 80-120% with another clue.
The script starts by selecting a random number between 80,120 and resize a vector-graphic i use as background accordingly (i have a cli tool for the resizing, not the randoming)
Then look for all gui elements (textboxes, buttons and 2 radio toggles) and replace them.
A control looks like this : <Button x:Name="Scan" HorizontalAlignment="Left" Margin="x,y,0,0" Width = 40, Height = 40>
All GUI controls are invisible overlays over the static vector-background.
now this should rather be easy, to make it interesting :
because, as i said, i dont want to have anything static in my gui i want to randomly split up the buttons.
If a button is 40x40
randomly decide to split it into 1-10 elements
So for example, if random=2
We split the button into 2 elements, 20x40 and 20x40, and place them exactly side by [login to view URL] form the 40x40 button.
next button, instead of 40x40, we have 4 buttons with 20x20 each
this can all be done with simple text-replacement
<Button x:Name="Scan" HorizontalAlignment="Left" Margin="10,41,0,0"
Margin = x,y,0,0 Width = 40, Height = 40)
becomes
<Button x:Name="Scan1" HorizontalAlignment="Left" Margin="10,41,0,0"
Margin = x,y,0,0 Width = 10, Height = 40)
<Button x:Name="Scan2" HorizontalAlignment="Left" Margin="20,41,0,0"
Margin = x,y,0,0 Width = 10, Height = 40)
<Button x:Name="Scan3" HorizontalAlignment="Left" Margin="30,41,0,0"
Margin = x,y,0,0 Width = 10, Height = 40)
<Button x:Name="Scan4" HorizontalAlignment="Left" Margin="40,41,0,0"
Margin = x,y,0,0 Width = 10, Height = 40)
Here is another example screenshot.
In case you can understand this, BID!! ; in case you don't : leave me alone please ;), only minor explanations since this should be self-explanatory
Hi! This is an interesting project, and it seems rather clear.
Relevant Skills and Experience
Python, GUI, Algorithmics
Proposed Milestones
€94 EUR - All
I assume you would be externally processing a script in a text file, with e.g. python.
I have more than 3 year experience of development
Relevant Skills and Experience
WPF,XAML,XML , C$
Proposed Milestones
€30 EUR - initial
€150 EUR - final