mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 09:26:18 -05:00
Add left margin to toolbar
This commit is contained in:
parent
ccc4afff4e
commit
dc02fe034e
@ -16,7 +16,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import QtQuick 2.7
|
||||
import QtQuick 2.1
|
||||
import QtQuick.Controls 2.0
|
||||
import org.retroshare.qml_components.LibresapiLocalClient 1.0
|
||||
import "URI.js" as UriJs
|
||||
@ -61,7 +61,8 @@ ApplicationWindow
|
||||
property alias loaderSource: imageLoader.sourceComponent
|
||||
property string defaultLabel: "RetroShare"
|
||||
|
||||
states: [
|
||||
states:
|
||||
[
|
||||
State {
|
||||
name: "DEFAULT"
|
||||
PropertyChanges { target: toolBar; titleText: defaultLabel}
|
||||
@ -72,13 +73,22 @@ ApplicationWindow
|
||||
}
|
||||
]
|
||||
|
||||
Loader {
|
||||
Item
|
||||
{
|
||||
id: tolbarLeftPadding
|
||||
width: 4
|
||||
}
|
||||
|
||||
Loader
|
||||
{
|
||||
id: imageLoader
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
height: Math.max(30, toolBar.height - 4)
|
||||
anchors.left: tolbarLeftPadding.right
|
||||
}
|
||||
|
||||
Component {
|
||||
Component
|
||||
{
|
||||
id: rsIcon
|
||||
Image
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user