Closed jinyuttt closed 4 years ago
Well...what's the problem?
I put mainview in the ribbonwindow to display the user control, but it didn't work
I put mainview in the ribbonwindow to display the user control, but it didn't work
Okay, uh...can you show me a screenshot of what does happen? Or provide a minimal repro of the problem? Just saying it "didn't work" doesn't really tell me anything about the problem. I need more information if I'm going to help you sort this out.
I wanted to show the control, but it didn't. I transplanted the dock sample, but failed to display it. I have the smallest hope of implementation
I wanted to show the control, but it didn't. I transplanted the dock sample, but failed to display it. I have the smallest hope of implementation
Hmm...have you added
<StyleInclude Source="avares://AvaloniaUI.Ribbon/Styles/RibbonStyles.xaml" />
to your App.xaml
's Styles
?
yes
Okay...I think I may need more context. Is the app you're working on available on GitHub or something?
Yes, but I'm afraid you may have some difficulties. Many of the notes and texts are in Chinese.. https://github.com/jinyuttt/PlatApplication.git
Okay, so I've built your program, and...I think I may have misunderstood the problem. I thought you said the entire Ribbon didn't show up, but the only thing that's not showing up here is the text - I'm just seeing boxes instead of Chinese characters. Is that the problem you were experiencing?
I added a test panel (the last one) and added a button. I have two questions:
The button feels very small.
Through the button event, you want to load the fileview interface into the dock (or mainview). But it can't be shown. I don't know if it's the ribbon wide effect.
Chinese “测试” mean "test”
???
I hope to integrate with dock, but it is not successful. Can you help me? https://github.com/wieslawsoltes/Dock.git