Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimized the space between the icon and the title #112

Closed
wants to merge 3 commits into from
Closed

Minimized the space between the icon and the title #112

wants to merge 3 commits into from

Conversation

Sanskar2807
Copy link

@Sanskar2807 Sanskar2807 commented Sep 18, 2023

Fixed #111

Demo screenshot
Screenshot 2023-09-18 at 7 11 05 PM

@@ -162,23 +162,22 @@ class _ItemWidget extends StatelessWidget {
container: true,
selected: isSelected,
child: AnimatedContainer(
width: isSelected ? 130 : 50,
width: isSelected ? 130 : 50, // Limit the width here
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason to add this comment?

Copy link
Collaborator

@antonio-pedro99 antonio-pedro99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @Sanskar2807 thanks a lot for your PR.

I have left some comments.

borderRadius: BorderRadius.circular(itemCornerRadius),
),
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
physics: NeverScrollableScrollPhysics(),
child: Container(
width: isSelected ? 130 : 50,
width: isSelected ? 130 : 50, // Limit the width here
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see my previous comment

@@ -71,7 +71,7 @@ class _MyHomePageState extends State<MyHomePage> {
BottomNavyBarItem(
icon: Icon(Icons.message),
title: Text(
'Messages test for mes teset test test ',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That example is on purpose!

@antonio-pedro99
Copy link
Collaborator

All checks have failed, do you mind take a look?

'Messages test for mes teset test test ''
Miniimized the gap
Copy link
Collaborator

@antonio-pedro99 antonio-pedro99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi again @Sanskar2807.
Thanks for the hard work you are putting on this.

I would stay with the current behavior, IMHO.
Use usually expect menu items to have only one word, or at least two.

@Sanskar2807 Sanskar2807 closed this by deleting the head repository Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minimize the space between the icon and the title
2 participants