Rory
Rory
CC#
Created by Noah; on 1/22/2025 in #help
I can't afford to sign my app
Yeah I haven't used win11 but would be surprised to learn if it restricted anything significantly. I know unsigned apps on macos are a pain in the ass but obviously, not an issue here
7 replies
CC#
Created by Noah; on 1/22/2025 in #help
I can't afford to sign my app
Yes you do, it's a one-time fee but it's quite small (i'm in England, it was about £14 GBP) compared with signing cert fees.
7 replies
CC#
Created by Noah; on 1/22/2025 in #help
I can't afford to sign my app
Are you willing or able to publish it via the microsoft store? They'll sign and distribute it via that and it costs a tiny fee.
7 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
Some of those look like they might be good small examples you could play with
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
I don't have any good examples to hand sadly
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
It's been a fair few years since I did WPF but Dockpanels, Stackpanels, Grids and then small adjustments to margins and padding mostly I think.
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
Do you mean like structuring the layout?
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
You could try it. I can't say I've ever tried it. I think it works well for a world of absolute positioning rather than relative
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
np!
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
Like, here, you could just reduce that margin number a bit and it'd be onscreen
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
Also the controls won't adapt well when you add more controls, but that's very much in your control. That said the rules posted above very much come from a place of how to write good maintainable production WPF code. If you're just starting out, do what works best for you but just know that you can tweak the xaml by hand if it's not looking right
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
The designer does work like that but all it can/will do is place controls in a very fixed way that won't adapt if you resize the app
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
But here if you dropped the margin and changed vertical alignment might that be better?
<Button Content="Button" HorizontalAlignment="Left" Height="47" VerticalAlignment="Bottom" Width="109"/>
<Button Content="Button" HorizontalAlignment="Left" Height="47" VerticalAlignment="Bottom" Width="109"/>
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
You'd be best learning out how to do some simple layouts with containers like grids, stackpanels and stuff, and then putting your controls and things inside of them. Sorry that's a bit vague, it's hard to outline where to start with it and i've been out of the WPF space for a bit
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
the top two ❌ points here essentially
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
Broadly, it's easier to have a layout that works logically if you are hand-crafting the markup.
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
Where did you want the button to go?
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
I am gonna assume you didn't type that xaml by hand to add the button but maybe I'm wrong there, it's all oddly specific numbers in the height, margin, width.
38 replies
CC#
Created by monkeyoohlala on 1/12/2025 in #help
✅ WPF
you have a 387 pixel margin from the top of the app in the button there: "0,387,0,0"
38 replies