Splitwirez / AvaloniaRibbon

Ribbon for avalonia
MIT License
106 stars 23 forks source link

dock #13

Closed jinyuttt closed 4 years ago

jinyuttt commented 4 years ago

I hope to integrate with dock, but it is not successful. Can you help me? https://github.com/wieslawsoltes/Dock.git

Splitwirez commented 4 years ago

Well...what's the problem?

jinyuttt commented 4 years ago

I put mainview in the ribbonwindow to display the user control, but it didn't work

Splitwirez commented 4 years ago

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.

jinyuttt commented 4 years ago

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

QQ图片20200805013145

Splitwirez commented 4 years ago

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

QQ图片20200805013145

Hmm...have you added

<StyleInclude Source="avares://AvaloniaUI.Ribbon/Styles/RibbonStyles.xaml" />

to your App.xaml's Styles?

jinyuttt commented 4 years ago

yes

Splitwirez commented 4 years ago

Okay...I think I may need more context. Is the app you're working on available on GitHub or something?

jinyuttt commented 4 years ago

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

Splitwirez commented 4 years ago

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?

jinyuttt commented 4 years ago

I added a test panel (the last one) and added a button. I have two questions:

  1. The button feels very small.

  2. 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.

jinyuttt commented 4 years ago

Chinese “测试” mean "test”

jinyuttt commented 3 years ago

???