ios - Xamarin 表单 : Is there a way to reduce the spacing on ToolBarItems

标签 ios xamarin toolbar toolbaritems

我在导航栏上使用 ToolBarItems。在 iOS 上,工具栏项之间的距离很远。我们能不能把它们拉近一点。

最佳答案

项目之间的间距遵循Human Interface Guideline from Apple for iOS .我建议不要违反准则,除非您有非常具体的原因。

回答你的问题:

您可以为 UIToolbar 使用自定义渲染器和或UINavigationbar放置它的 subview 又名 UIBarButtonItem靠得更近。

关于ios - Xamarin 表单 : Is there a way to reduce the spacing on ToolBarItems,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41355977/

相关文章:

ios - objective C下划线变量和自变量不同

ios - UIToolBar 是透明的

c# - 用数组填充 UITableView

Android ToolBar 可以改变后退按钮颜色但不能改变标题颜色

css - ckeditor 工具栏图标和按钮错位

iphone - 向 UITableView 插入行崩溃

android - Android 上的 iBeacon 广告

android - 这个 xaml 网格的 Android 等价物是什么?

c# - 并排对齐按钮

delphi - 如何在 TToolbar 上混合图标的图像列表?