PieroCastillo / Aura.UI

A Library with a lot of Controls for AvaloniaUI
MIT License
600 stars 42 forks source link

Suggestions :) #7

Open PieroCastillo opened 3 years ago

PieroCastillo commented 3 years ago

I open this issue so that people who want to give suggestions can do so.

DarthSpot commented 3 years ago

Hello,

Is it possible to get a dynamic CardCollection? For example when i have a list of objects, define how one card should look like with different Bindings, and then attaching a source to the collection?

PieroCastillo commented 3 years ago

Hello,

Is it possible to get a dynamic CardCollection? For example when i have a list of objects, define how one card should look like with different Bindings, and then attaching a source to the collection?

Good idea, I'm gonna implement an MVVM support for CardCollection

nlogozzo commented 3 years ago

Add screenshots of the ribbon to Readme

Also what's the difference between this library's ribbon and the one in AvaloniaRibbon by splitwirez?

PieroCastillo commented 3 years ago

Add screenshots of the ribbon to Readme

Also what's the difference between this library's ribbon and the one in AvaloniaRibbon by splitwirez?

my implementation is more compact, if u wanna something easy use my implementation, but if your app needs more complexity and more customization use the splitwirez implementation :D

About the ribbon screenshots now I'm going to do it

nlogozzo commented 3 years ago

Thanks for the screenshots!

nlogozzo commented 3 years ago

Definitely will be integrate your library into my apps!! Also, might wanna say that Aura.UI is now stable in the readme as well :wink:

PieroCastillo commented 3 years ago

Definitely will be integrate your library into my apps!! Also, might wanna say that Aura.UI is now stable in the readme as well 😉

thanks! :D, so, Now I'm working in a ColorPicker [ design ], when that will be finished, I'm gonna work with MVVM support, and next mmmmm, maybe I'll have another idea.

Shadow4walker commented 3 years ago

ability to scroll for the AuraTabView when adding too many items you'll face the issue like so

Videos

also I'm using Binding to Generate items and when removing specific item using the built-in close button (AuraTabItem /template/ Button#PART_CloseButton) I'm facing some issues so i had to disable the Built-in Close button and added my own logic to remove needed item. it would be easier to just add EventHandler like ClickOnAddingButton for the close button

PieroCastillo commented 3 years ago

@Shadow4walker good, I'm gonna implement it to AuraTabView, for the event, exactly what for? whenClose() is invoked, and raise the event, or when the CloseButton is clicked, in other words, before the Close()

PieroCastillo commented 3 years ago

also, what are the other problems?

Shadow4walker commented 3 years ago

@Shadow4walker good, I'm gonna implement it to AuraTabView, for the event, exactly what for? whenClose() is invoked, and raise the event, or when the CloseButton is clicked, in other words, before the Close()

i needed to be in full control for removing items (of the Close) that's why I've disabled the Built-in close button your Built-in removing item throwed exception when close button clicked (because it couldn't remove the item from the custom collection, some sort of type converting exception! ) so if you just give us the choice to handle the removing when there's a subscription to ClickOnRemovingButton with no other built-in removing handling

and for the other one i need to do exactly like so scrollAble i hope you got it i know my English grammar sucks (:

PieroCastillo commented 3 years ago

so easy, I'm going to add two events, ClickOnCloseButton and Closing, about scrolling it's fixed adding a ScrollView in its template

manfromarce commented 3 years ago

Hello, would it be possible to show close button on unselected tabs in AuraTabView? Also, do you have any suggestions on how to create a new window when a tab is dragged out (like browsers do)?

PieroCastillo commented 3 years ago

@manfromarce to show the close button add this style

    <Style Selector="AuraTabItem /template/ Button#PART_CloseButton">
        <Setter Property="IsVisible" Value="true" />
    </Style>

about the Drag'n'Drop I've added a TranslateBehavior by @wieslaysoltes, about create a new window when the tab is dragged out is easy but when the tab is re-dragged in, it's quite complex, but... I think I can implement it..

manfromarce commented 3 years ago

Thanks for your help, if you could implement it that would be a great feature

hailstorm75 commented 2 years ago

A great addition to the component library would be a stepper control:

The point of which would be to display a different view based on the active step. However, I'm not sure whether it makes sense to implement the stepping control logic for switching views. It would be better to have some sort of stepper bar with a transition animation when an item is set to active. Changing views should be done outside of the library.

So, something like this would be pretty awesome and should support both MVVM and static XAML: image

I'm currently trying to implement something like this, even though component design isn't my strong suit. The implementation for the MaterialDesignExtensions isn't clean, in my opinion, as it requires the displayed content to inherit a view model provided by the library.

squirrelfeng commented 2 years ago

Add a RotateShape control: Is it possible to add a rotetable shape control like mentioned in https://github.com/mameolan/Avalonia.ExtendedToolkit? It's awesome and hope could implement it.

barremob commented 2 years ago

Ability to disable the scrollviewer in NavigationViewStyles.xaml. Sometimes the screen shouldn't be scrollable, for instance when there is a sub scrollviewer. Now it will take the full height it needs and the complete window will scroll.

manfromarce commented 2 years ago

Does anyone know how to extend AuraTabView in the title bar? I've already tried all the options with Avalonia's TitleBar but there's always something not working properly. Thank you :)

squirrelfeng commented 2 years ago

Call NewMessageDialog from code behind, in MVVM It's possible via routedviewhost, however it's better to have easier way, then I will no long need to install additional messagebox package~ Thanks for your work!